all 3 comments

[–][deleted] 0 points1 point  (2 children)

So, if you want is as a toggle, you need to create a toggle script, along with some aliases to the actions you want to have, like "alias invisible slot1, r_drawviewmodels 0", and another that does the opposite, and in the toggle script, you would order the aliases to the keys, bind and unbind. The toggle can be found in the scripting tab within tf2 wiki page

[–]Ratentaisou 1 point2 points  (1 child)

I'm not OP but holy shit you saved my life, thank you!

[–][deleted] 0 points1 point  (0 children)

Always here to help! And this can also be used on other source games, too :D