Results 1 to 3 of 3

Thread: Action to open backpacks

  1. #1
    Normal User
    Join Date
    Feb 2012
    Location
    Rio de Janeiro, Brazil
    Posts
    236
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    12
    Rep Power
    5

    Action to open backpacks

    I need a action to put in the beggining of my script to close all bp's opened and after open main bp (bp of holding), supplie bp (dragon bp), loot bp (jewelled bp) and gold bp (beach bp) if bot don't open one of them, I want the bot to start the process again until I have the 4 bp's opened, when all 4 bp's opened go to next waypoint

    Hope someone can help me, ty

  2. #2
    Normal User
    Join Date
    Feb 2012
    Posts
    37
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    action: open-bp

    local mainBP = "backpack of holding"
    local supplyBP = "brocade backpack"
    local lootBP= "grey backpack"
    local goldBP = "expedition backpack"
    closewindows()
    wait(1000)
    openitem(mainBP, "back")
    wait(1000,2000)
    openitem(supplyBP, mainBP, true)
    wait(1000,2000)
    openitem(lootBP, mainBP, true)
    wait(1000,2000)
    openitem(goldBP, mainBP, true)
    wait(1000,2000)
    resizewindows()

    -----------
    Create another action now with this code

    If if windowcount() < 4 then
    gotolabel('open-bp')
    end

  3. #3
    Premium User shadowbrotha's Avatar
    Join Date
    Mar 2012
    Posts
    51
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    great thanks!

Posting Permissions

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