Kód: Vybrat vše
#---------------------------------------------------------------
sub noziky()
#---------------------------------------------------------------
#uo.exec('exec afkalarm')
catchbag()
var batoh='0x00000000' # batoh kam panty
while (NOT UO.DEAD())
if UO.Count("0x1BEF,0x0000") < 1 then
UO.Print("dosel iron doplnuji!")
if UO.FindType("0x1BEF,0x0000","-1","ground") > 100 then
UO.Moveitem("finditem","100","backpack")
wait(500)
else
UO.Say(" neni iron! ")
return
endif
endif
wait(1000)
repeat
UO.Exec("waitmenu 'Tinkering' 'Tools' 'Tools' 'Draw Knife'")
UO.Exec("usetype 0x1EBC")
wait(5000)
uo.print(str(UO.Count('0x10E4')))
until UO.Count("0x1BEF,0x0000") < 1
UO.Print("pokladam!")
UO.FindType(0x1055,-1,'backpack')
UO.Moveitem("finditem","100","batoh")
wend
uo.unsetcatchbag()
end sub