Page 1 of 1

AutoHealing

Posted: 2004-05-23 14:00:45
by NIXER
sub AutoHeal()
while uo.count("Bandage")
if not uo.dead() then
if uo.life < uo.str then
uo.exec("bandageself")
;uo.print("Bandagiere....")
wait(500)
endif
;wait(500)
endif
;wend
wait(500)
wend
end sub

that is the script..and when i will run it ..yoko says "Unknown graphic type"
Why it do that ????.....i hope anyone can help me.... =(
Sorry 4 my bad english ^^"...

Posted: 2004-05-23 16:49:10
by NIXER
umn...plz ....can anyone help me to fix the problem ??...

Posted: 2004-05-23 22:02:27
by Lord Ruslan Nightmare

Code: Select all

sub AutoHeal() 
  while uo.count("Bandage")
    if not uo.dead() and uo.life < uo.str then
        uo.waittargetself()
        uo.usetype("ZLF")
        wait(500)
    endif
    wait(500)
  wend
end sub

Posted: 2004-05-24 00:14:11
by Lem
prb you have not set the type "Bandage"