Kód: Vybrat vše
sub vpanty()
uo.addobject("batoh") # batoh kam panty
uo.targeting()
zacatek:
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' 'Parts' 'Parts' 'Hinge'")
UO.Exec("usetype 0x1EBC")
wait(4000)
until UO.Count("0x1BEF,0x0000") < 1
UO.Print("pokladam!")
UO.FindType(0x1055,-1,'backpack')
UO.Moveitem("finditem","100","batoh")
goto zacatek
end sub