i have no idea what I'm doing
but the idea is that when you have the saw the hudgun is turned on
at least I'm close to achieving something
??
cierrahudgun = [cierra; cierraon; cierraoff]
cierra = [ sleep 10 [if (&& (= (getweapon) 7) (= contador 1)) [hudgun 1]] cierra ]
cierraon = [ sleep 9 [if (= (getweapon) 7) [contador = 1]] cierraon ]
cierraoff = [ sleep 8 [if (&& (= contador 1) (!= (getweapon) 7)) [contador = 0]] cierraoff ]
cierrahudgun
umm I suspect the problem is with the "contador = 1, contador = 0" the counter