Sub control()
healx:
if uo.life<90 then
UO.Print("***Using Bandage***")
UO.exec ("bandageself")
wait(5500)
end if
if uo.life<40 then
UO.Print("***Using Heal Potion***")
UO.exec("usetype 0x0F82 0x0532")
endif
goto healx
end sub
sub control()
healing:
if uo.life <= 60 then
uo.print("Waiting Life Critical"); Msg from me
uo.exec("usetype 0x0F82 0x0532"); Potion Life!
else
if uo.life <= 90 then
uo.print("Life's Down"); Msg from me
uo.exec("bandageself"); Bandage Self
wait(5500)
end if
end if
goto healing
end sub