sub autoheal()
var myarm
repeat
wait(300)
uo.deletejournal()
if uo.injournal('You hit|You smash|You miss|You land|You score|You knock') and uo.life<90 then
uo.deletejournal()
uo.setarm('myarm')
uo.waittargetobject('self')
uo.usetype('0x0E21')
wait(100)
UO.arm('myarm')
end if
until uo.dead()
end sub
sub autoheal()
var myarm
uo.deletejournal()
repeat
wait(300)
if uo.injournal('You hit|You smash|You miss|You land|You score|You knock') and uo.life<90 then
uo.deletejournal()
uo.setarm('myarm')
uo.waittargetobject('self')
uo.usetype('0x0E21')
wait(100)
UO.arm('myarm')
end if
until uo.dead()
end sub