Fix this script for pyt item on the ground

Ask for scripts here

Moderators: Murderator+, Murderator

Post Reply
soneca
Posts: 1
Joined: 2009-04-22 19:21:24

Fix this script for pyt item on the ground

Post by soneca »

Hi all. if somebody will be able to help me. I need chance something in this script, but i don't know how.

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
Post Reply