Page 1 of 1

Veterinary ress kill script help

Posted: 2017-11-28 21:39:41
by engong
Hello

I am new to write my own script and i am stuck now. Can anyone help me to get it to work thx.


Code: Select all

sub Veterinary()
   Repeat   #Kill Ostard
      UO.DeleteJournal()
      UO.LClick(862,354) #Attack (dubble left click to attack)
      UO.LClick(862,354) #Attack
      Wait(13000)
    Until FALSE
end sub

sub Ress()
   Repeat    #Ress Ostard
      UO.DeleteJournal()
      UO.LClick(867,372) #use bandages on ostard
      UO.Usetype("0x0e21") #bandages id
      Wait(13000)
      Repeat
         if UO.InJournal("resurrected") Then
            Veterinary()
end sub