Page 1 of 1

uo.frozen()

Posted: 2006-11-04 00:42:15
by dagofee
is there a way to detect if my pg is frozen like

while uo.frozen()
wait(10)
wend
if uo.life < uo.str then
#usetype gheal
else
#usetype other-thing
end if

Posted: 2006-11-04 07:03:59
by Infectous

Code: Select all

sub CheckLag()
uo.DeleteJournal()
uo.Click('backpack')
repeat
wait(200)
until uo.InJournal("backpack")
end sub


if uo.life < uo.str then
checklag()
usetype gheal
else
checklag()
usetype other-thing
end if