; ------------------------------------
var mode = 0
sub start()
mode = 1
while mode <> 0
uo.bandageself()
uo.wait(2000)
wend
end sub
sub stop()
mode = 0
end sub
; ------------------------------------
but that dont work

when i set mode = 0 in stop function that not change it in start function
thx for any adwise