Left mouse button broke, making a script to allow scoping with M2, then shooting with M2. Unscoping is bound to Z
alias +m2shoot "+attack1;"
alias -m2shoot "-attack1;bind mouse2 m2scope"
alias +m2scope "+attack2;"
alias -m2scope "-attack2;bind mouse2 m2shoot"
bind mouse2 +m2scope
alias +z +attack2
alias -z -attack2
bind z +z
But right clicking just keeps scoping and un-scoping again and again. What did I do wrong?