Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sub autoheal()
- uo.print("Patriot's bandage skript")
- repeat
- uo.findtype('0x0E21', -1, 'backpack')
- if uo.findcount() then
- wait(350)
- if uo.life < 20 then
- if UO.Count("heal") > 0 then
- UO.print("!!ZAPIJ NEBO UMRES!!")
- else
- uo.print("DOSLY TI HEALY, LECIM BANDAZEMI")
- uo.bandageself()
- wait(6000)
- endif
- endif
- if uo.life <= 80 then
- uo.bandageself()
- wait(10)
- uo.print(STR(UO.Life)+"/"+STR(UO.GetMaxHP("self")))
- wait(6000)
- endif
- UO.DeleteJournal("setris manu!")
- else
- uo.msg('Nemas bandy,vypinam skript, DAVEJ POZOR!!!')
- uo.exec('terminate autoheal')
- endif
- until uo.dead()
- end sub
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement