problem with a bind =///

Hey unso !

I need some help with a bind.
I want to have it like that:
It zooms in when I press a button (+zoom (binocular)) and stays in the zoom until I press that button again (>> -zoom).

I thought it was sth with +vstr but the console just says Usage: +vstr [down_vstr] [up_vstr]


The bind looks like that atm:

bind b "vstr binmain"
set bin1 "+zoom"
set bin2 "-zoom"
set binmain "+vstr bin1 bin2"


Any suggestions ?
Thanks a lot.
Comments
4
+vstr bin1 bin2

= you press the button -> bin1, you let the button go -> bin2


why would you need such a script anyway :S
xx_attack will work
set bin "vstr bin1"
set bin1 "+zoom; set bin vstr bin2"
set bin2 "-zoom; set vin vstr bin1"
bind b "vstr bin"
Back to top