I want that always that i catch the random item, put it on the ground and don't in my bag. Is possible?
Thx for all! Cya!
Code: Select all
stealing:
if uo.InJournal("Items found: 1") then
wait(80)
uo.deletejournal()
goto snoop
end if
if uo.InJournal("This item can not be stolen.") then
wait(80)
uo.deletejournal()
goto snoop
end if
if uo.InJournal("invalid object:finditem") then
wait(80)
uo.deletejournal()
goto snoop
end if
UO.findtype('-1', '-1', 'lastcontainer')
if uo.findcount() > 0 then
uo.addobject('aleatorio', 'finditem')
wait(100)
uo.waittargetObject('aleatorio')
uo.useskill('Stealing')
wait(5500)
goto stealing
else
goto snoop
end if
end sub