Results 1 to 5 of 5

Thread: Get mana potions depot and move to the BP

  1. #1
    iBot User
    Join Date
    Dec 2014
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    2

    Get mana potions depot and move to the BP

    I have a BP in my depot and inside it has several bp 's of the same type , and within these bp 's has MP would like to know how to pass the MP for main BP when the amount in MainBP is less than the stipulated
    Last edited by babs; 12-18-2014 at 08:54 AM.

  2. #2
    Premium User Norkk's Avatar
    Join Date
    Jan 2013
    Location
    BH - MG - Brazil
    Posts
    1,167
    Mentioned
    78 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    207 Post(s)
    Reputation
    135
    Rep Power
    7
    You could try that

    Lua Code:
     
    while (itemcount("mana potion", MainBP) < 200) -- 200 is the value estipuled
    do 
        moveitems("mana potion", DepotBP, MainBP, 100)
        wait(1000)
    en
    My Scripts - Norkk Free Scripts
    New Project - Norkk Project

    EK 208 sold to @yhuel

  3. #3
    iBot User
    Join Date
    Dec 2014
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    2

    Unhappy

    Quote Originally Posted by Norkk View Post
    You could try that

    Lua Code:
     
    while (itemcount("mana potion", MainBP) < 200) -- 200 is the value estipuled
    do 
        moveitems("mana potion", DepotBP, MainBP, 100)
        wait(1000)
    en
    EN = END?

    but
    Don't WORK

  4. #4
    Premium User Norkk's Avatar
    Join Date
    Jan 2013
    Location
    BH - MG - Brazil
    Posts
    1,167
    Mentioned
    78 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    207 Post(s)
    Reputation
    135
    Rep Power
    7
    Can u show me here u put that that, and if appears any kind of error on Debug ?
    My Scripts - Norkk Free Scripts
    New Project - Norkk Project

    EK 208 sold to @yhuel

  5. #5
    iBot User
    Join Date
    Dec 2014
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    2
    Code:
    local backpackList = {"Purple Backpack", "Red Backpack"} -- List of Backpacks you will have open
    local supplyBp = "Green Backpack" -- Backpack to move the items to
    local supplyList = {"Mana Potion"} -- List of Supply Items to move
     
    for _, BP in ipairs(backpackList) do
        for _, SUPPLY in ipairs(supplyList) do
        while (itemcount("mana potion", supplyBp) < 100) do
                moveitems(SUPPLY, BP, supplyBp, 100)
                wait(500,800)
            end
        end
    end
    SOLVED

Posting Permissions

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