use weapon_awp alias w "wait" alias w5 "w; w; w; w; w" alias w10 "w5; w5" alias switch "lastinv; w5; lastinv" alias shoot "+attack; w5; -attack2; -attack; w10" alias autoswitch "shoot; switch"
// The toggle
alias toggle_on "bind MOUSE1 autoswitch; bind h toggle_off" alias toggle_off "bind MOUSE1 +attack; bind h toggle_on" bind h "toggle_on" // Thats it, enjoy.