I've seen plenty of simple scripts, such as "toggle crouch" and etc. that are basically a single row of a bind command.
I've 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 I'm talking about.)