Ive seen plenty of simple scripts, such as "toggle crouch" and etc. that are basically a single row of a bind command.
Ive also seen 30+ rows of command that have something to do with some script files (which i assume are somewhere in the TF2 directory.
So, my question is, how do I implement... um... lets use THIS script as an example:
// Spy Attack and Disguise // ======================= alias +spy_attackdisguise "+attack" alias -spy_attackdisguise "-attack; lastdisguise" bind "MOUSE1" +spy_attackdisguise
Also, as an addition to this script, I'd like to know how I can activate/deactivate it with the press of F1.
(my assumption is that you can store a script file and bind its activation and deactivation to the F1 key, probably using the console. P.S. I have no idea what im talking about)