Easy script

Ask for scripts here

Moderators: Murderator+, Murderator

Post Reply
Kaar
Posts: 1
Joined: 2010-05-09 15:09:42

Easy script

Post by Kaar »

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!
kostjan
Posts: 89
Joined: 2009-03-06 21:52:25
Contact:

Re: Easy script

Post by kostjan »

Explain in detail on.... :!:
Beyonder
Expert!
Posts: 388
Joined: 2005-04-23 10:19:43
Contact:

Re: Easy script

Post by Beyonder »

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

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