1
u/genemilder Scripter Apr 29 '14
The "slot1;slot2" style of switching is based on timing and only works for the slot commands, you can't tie settings to those slots with that script. What you did is effectively bind a key to "slot2; r_drawviewmodel 1; slot1; r_drawviewmodel 0" which will always turn your viewmodels off since that's what the last statement is.
1
u/CAPSLOCK_USERNAME Valued contributor Apr 29 '14
To do what you want to do, you'll probably want to change the QS alias depending on the weapon slot, like so: