uo.frozen()

Anything and all.

Moderators: Murderator+, Murderator

Post Reply
dagofee
Posts: 10
Joined: 2006-10-29 18:32:39

uo.frozen()

Post 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
Infectous
Posts: 55
Joined: 2004-07-29 16:29:52

Post 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
Post Reply