Yoko
http://forum.yoko.com.ua/

Fix this script for pyt item on the ground
http://forum.yoko.com.ua/viewtopic.php?f=17&t=14733
Page 1 of 1

Author:  soneca [ 2009-04-24 09:55:17 ]
Post subject:  Fix this script for pyt item on the ground

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:
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

Page 1 of 1 All times are UTC+02:00
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/