Results 1 to 4 of 4

Thread: Search action for open bp if closed all.

  1. #1
    Normal User AnAnAs's Avatar
    Join Date
    Mar 2012
    Location
    Poland
    Posts
    77
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    9
    Rep Power
    0

    Search action for open bp if closed all.

    Hi search action for open bp if all closed.

  2. #2
    iScripter Eli's Avatar
    Join Date
    Mar 2012
    Posts
    3,764
    Mentioned
    492 Post(s)
    Tagged
    2 Thread(s)
    Quoted
    956 Post(s)
    Reputation
    586
    Rep Power
    10
    PHP Code:
    closewindows()
    wait(5001000)
    openitem("NAME OF MAIN BP HERE"'back')
    wait(5001000)
    resizewindows()
    openitem("NAME OF SECOND BP TO OPEN""NAME OF MAIN BP"true)
    wait(5001000)
    resizewindows()
    openitem("NAME OF THIRD BP TO OPEN""NAME OF MAIN BP"true)
    wait(5001000)
    resizewindows() 

  3. #3
    Normal User AnAnAs's Avatar
    Join Date
    Mar 2012
    Location
    Poland
    Posts
    77
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    9
    Rep Power
    0
    I search if all closed.If for example mainbp open,script dont open next.If all closed.Open all bp.

  4. #4
    iBot User NoMercy's Avatar
    Join Date
    Feb 2012
    Location
    São Paulo, Brazil
    Posts
    1,311
    Mentioned
    26 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    39 Post(s)
    Reputation
    120
    Rep Power
    8
    PHP Code:
    local MainBP "Purple Backpack"
    local LootBP "Red Backpack"
    local GoldBP "Golden Backpack"


    if windowcount() < 3 then
    pausewalking
    (10000)

    if 
    windowcount(MainBP) < and maround(2) == and not lootbodies
    then
    wait
    (500)
    openitem(MainBP"back")
    wait(1000)
    resizewindows()
    wait(1000)
    end

    if windowcount(LootBP) < and maround(2) == and not lootbodies
    then
    wait
    (500)
    openitem(LootBPMainBPtrue)
    wait(1000)
    resizewindows()
    end

    if windowcount(GoldBP) < and maround(2) == and not lootbodies
    then
    wait
    (500)
    openitem(GoldBPMainBPtrue)
    wait(1000)
    resizewindows()
    end

    wait
    (500)
    pausewalking(0)
    end 
    credits to Nosekim

Posting Permissions

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