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

Easy script
http://forum.yoko.com.ua/viewtopic.php?f=17&t=15739
Page 1 of 1

Author:  Kaar [ 2010-05-09 15:13:48 ]
Post subject:  Easy script

Hi! I play in a Run Uo shard and I use injection. I need a easy script that lay on the ground all mineral (iron, gold, ecc ecc).
It is so because in our shard I can't use mining when I'm in full load in my bag.

Please help me... Thanks a lot!

Author:  kostjan [ 2010-05-10 04:02:37 ]
Post subject:  Re: Easy script

Explain in detail on.... :!:

Author:  Beyonder [ 2010-05-10 08:20:13 ]
Post subject:  Re: Easy script

Something like this would do:

Fill the oreTypes array with all types of stuff you need to drop (find it with ,info command). Dont forget to change oreTypeCount to count of elements in the array.
Code:
sub dropOres()
    dim oreTypes[50]
    oreTypes[0] = '0x1234'
    oreTypes[1] = '0x2345'
    var oreTypeCount = 2

    var i
    for i=0 to oreTypeCount-1
        UO.FindType(oreTypes[i],-1,'my')
        while (UO.FindCount())
            UO.DropHere('finditem')
            if (UO.FindCount() > 1) then
                wait(500)
            endif
            UO.FindType(oreTypes[i],-1,'my')
        wend
    endfor
endsub

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