Kavresupply bind w/ presets
in scout:bind F5 "load_itempreset 0; alias 1load load_itempreset 0"
bind F6 "load_itempreset 1; alias 1load load_itempreset 1"
bind F7 "load_itempreset 2; alias 1load load_itempreset 2"
bind F8 "load_itempreset 3; alias 1load load_itempreset 3"
alias 1load load_itempreset 0
bind 1 1load
then 2load for soldier, 3load pyro, etc.
makes F5-8 load each of the presets, and makes the 1 key reload the last selected preset for spawn cycles and shit.
unfortunately afaik you cant preserve the alias across sessions so it has to reset to the first preset every time you launch.
Maybe put the scipt in a extra config file and then put "host_writeconfig 1load.cfg" after the "alias 1load load_itempreset" part?
Not sure if that would work, just an idea.
Edit: If that doesn't work, try using bind instead of alias.
So "bind 1 load_itempreset X" instead of "alias 1load load_itempreset X"
Binds that are created from withing the game do save, while aliases don't.
Or maybe a simple bind like
bind [key] "+quit"
alias "+quit" "host_writeconfig"
alias "-quit" "quit"
could do the trick?
Always use that bind to close the game so all the commands that were changed while the game is running get saved before you close it.
Haven't tested any of those, just some ideas that I think might work.