Page 1 of 1

ANATOMY + HEAL

Posted: 2012-04-20 09:54:28
by leandroatx
Hi i need a script, anatomy + heal when player has less then 40 life
anyone ? plz! thx

example;
anatomy tgt self
if str < 40 use bandage

Re: ANATOMY + HEAL

Posted: 2012-04-21 11:04:10
by Successful

Code: Select all

sub Anatomy_()
while not uo.dead()
uo.deletejournal()
uo.waittargetself()
uo.useskill ('Anatomy')
repeat
wait(100)
until uo.injournal('ms1|ms2|ms3?')
if uo.life < 40 then
repeat
uo.bandageself()
wait(4000)
until uo.life == uo.str()
end if
wend
end sub


('ms1|ms2|ms3?') write the journal massages here