stop = 0
aquireTarget() {
send {Tab}
sleep 1000
tHP:=targetHP()
if stop
exit
else if ( tHP < 135.0 )
aquireTarget()
else
battle()
}
~RButton::
stop = 1
return
%stop% gets changed, but apparently there is a %stop% var for every recursion and the top level never notices the change..
How do i get this to work as it should in normal programing languages?




