Results 1 to 2 of 2

Thread: Open next BP if empty

  1. #1
    Normal User
    Join Date
    Aug 2013
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    4

    Open next BP if empty

    I need action that open next backpack when backpack is empty

    for example i have 500 backpacks of loot, first bp in secod bp, second bp in third bp and so on..
    and i want my character to take items from first backpack and when its empty, open second, and if second is empty, open third etc

    thanks in advance

  2. #2
    iBot User pink_panther's Avatar
    Join Date
    May 2012
    Location
    Australia
    Posts
    4,075
    Mentioned
    49 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    178 Post(s)
    Reputation
    309
    Rep Power
    10
    Are they all the same colour?

    PHP Code:
    loopBp "Green Backpack"

    If getcontainer(lootBp).usedslots == 1 then openitem(lootBplootBpfalseend 
    Last edited by pink_panther; 08-14-2013 at 11:37 PM.

Posting Permissions

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