Results 1 to 3 of 3

Thread: Need action - move gruop of items

  1. #1
    iBot User
    Join Date
    Oct 2012
    Posts
    52
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    5 Post(s)
    Reputation
    10
    Rep Power
    5

    Need action - move gruop of items

    Hello,
    I need action to move rashid items from FIRST bp to SECOND bp. I have a lot of items in backpacks of different colours and I would like to add this items into different colored backpacks.

    I create sth like this but it is still not working ;/
    Action can be as simple as it just might be xd

    local rashiditems = ("bone shield", "dark shield", "medusa shield", "demon shield", "leopard armor", "hibiscus dress", "lightning robe", "magma coat", "terra mantle", "crystalline armor", "dragon scale mail", "glacier kilt", "lightning legs", "magma legs", "terra legs", "crocodile boots", "terra boots", "steel boots", "magma boots", "bandana", "devil helmet", "lightning headband", "witch hat", "crystal necklace", "glacier amulet", "magma amulet", "terra amulet", "lightning pendant", "ruby necklace", "platinum amulet", "leviathan's amulet", "shockwave amulet", "crystal ring", "death ring", "silver brooch", "emerald bangle", "doll", "war horn")

    moveitems(rashiditems, 1, 2, 100)
    end

    please help me

  2. #2
    Focus Group Gryllz's Avatar
    Join Date
    Jun 2012
    Location
    Dubai
    Posts
    3,482
    Mentioned
    89 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    236 Post(s)
    Reputation
    342
    Rep Power
    10
    @maly kozak


    Lua Code:
     
    local items = {"item"}
     
    for i,j in pairs(items) do
        while itemcount(items[i], "00") > 0 and getcontainer("01").usedslots < getcontainer("01").maxslots do
        moveitems(items[i], "00", "01", 100)
            wait(500)
        end
    end

  3. #3
    iBot User
    Join Date
    Oct 2012
    Posts
    52
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    5 Post(s)
    Reputation
    10
    Rep Power
    5
    Thanks! You are the best!
    Thank you for the quick reply

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •