problem with healing sc
Posted: 2008-05-29 15:07:55
It seems when I run my healing sc it crashes. I am not very good with scripts so any help would be great.
Code: Select all
sub Healing()
UO.DeleteJournal()
repeat
if not uo.dead() then
if UO.InJournal("You feel very ill")>0 or UO.InJournal("You feel deathly sick")>0 or UO.InJournal("You feel extremely sick")>0 or UO.InJournal("You contaminated")>0 then
uo.exec("bandageself")
wait(900)
UO.DeleteJournal()
end if
if uo.life < uo.str-10 then
uo.exec("bandageself")
end if
end if
wait(900)
until false