Collaidehow do you set it up as to execute loadout & class-specific commands and save them in the active loadout?
You alias your commands to loadouX_cfg (X being A, B, C, or D) as explained in step 6. The script automatically calls an alias of the loadout you're on.
If you want these class specific you have to set them in each class config. If you want these only on some classes you set them to blank on the other ones.
// no loadout specific settings scout
alias loadoutA_cfg "" // will do nothing
alias loadoutB_cfg // works same as ^
exec loadouts/scout // always has to be AFTER those four!
If you want the same loadout settings for all classes you can do this in autoexec, but after the exec loadouts/load.
Collaide removing my hud & configs?
loadoutX_cfg gets first called with exec loadout/class, so if you put commands after the exec line, they will override your loadout settings (until you change loadout and it gets called again). That's about the only thing that could cause issues.
A conflict with another script might occur if it uses a same alias name. That's not very likely to happen but here's a list of aliases I used:
loadoutX, loadout=X, loadoutX_class, loadoutX_cfg, loadout_class, old_loadout_class, and l1X to l9X (1, 2, 3, 4, 5, 6, 7, 8, 9).
Underline means theres one for each loadout/class.