Results 1 to 4 of 4

Thread: if x item in bp wait x time and move ..

  1. #1
    Normal User
    Join Date
    Jan 2014
    Posts
    18
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    1 Post(s)
    Reputation
    10
    Rep Power
    3

    if x item in bp wait x time and move ..

    Hallo, I need help with one script, some1 can help me?

    If count avalanche runes in yellow bp, then move all runes from yellow to blue backpack.. thx!!
    Last edited by fiko666; 04-12-2014 at 12:57 PM.

  2. #2
    Banned
    Join Date
    Jan 2013
    Posts
    1,792
    Mentioned
    37 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    76 Post(s)
    Reputation
    191
    Rep Power
    0
    Lua Code:
     
    local backpack_from = "yellow backpack"
    local backpack_to = "blue backpack"
     
    while itemcount("avalanche rune", backpack_from) > 0 and ((getcontainer(backpack_to).maxslots - getcontainer(backpack_to).usedslots) > 1) do
            moveitems("avalanche rune", backpack_from, backpack_to, 100)
            wait(200, 250)
    end

  3. #3
    Normal User
    Join Date
    Jan 2014
    Posts
    18
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    1 Post(s)
    Reputation
    10
    Rep Power
    3
    Thx Master:*

  4. #4
    Banned
    Join Date
    Jan 2013
    Posts
    1,792
    Mentioned
    37 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    76 Post(s)
    Reputation
    191
    Rep Power
    0
    Quote Originally Posted by fiko666 View Post
    Thx Master:*
    You're welcome.

Posting Permissions

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