Signup Now
Results 1 to 2 of 2
  1. #1
    Free User
    Join Date
    Sep 2016
    Posts
    6
    Reputation
    10
    Rep Power
    0

    Why my script for reopen Bp's not working?

    setsetting('Looting/OpenNextBP', 'no')
    setsetting('Looting/OpenNextBP', 'no')
    local LootBP = "Grey Backpack"
    local MainBP = "Brocade Backpack"
    local GoldBP = "Backpack"

    closewindows()
    wait(700,1000)

    openitem(MainBP, 'back') wait(700,1000)
    resizewindows(MainBP, '0') wait(700,1000)

    openitem(LootBP, MainBP, 'opennew') wait(700,1000)
    resizewindows(LootBP, '1') wait(700,1000)

    openitem(GoldBP, MainBP, 'opennew') wait(700,1000)
    resizewindows(GoldBP, '1') wait(700,1000)


    setsetting('Looting/OpenNextBP', 'yes')
    setsetting('Looting/OpenNextBP', 'yes')

    this script only open my main bp, but the others not open. I haved saved in 'Scripter'

  2. #2
    Free User ozzix's Avatar
    Join Date
    Jan 2014
    Location
    Sweden
    Posts
    4,769
    Reputation
    151
    Rep Power
    31
    its a boolean and not a string, should be true/false and not 'opennew' so for ex
    setsetting('Looting/OpenNextBP', 'no')
    setsetting('Looting/OpenNextBP', 'no')
    local LootBP = "Grey Backpack"
    local MainBP = "Brocade Backpack"
    local GoldBP = "Backpack"

    closewindows()
    wait(700,1000)

    openitem(MainBP, 'back') wait(700,1000)
    resizewindows(MainBP, '0') wait(700,1000)

    openitem(LootBP, MainBP, true) wait(700,1000)
    resizewindows(LootBP, '1') wait(700,1000)

    openitem(GoldBP, MainBP, true) wait(700,1000)
    resizewindows(GoldBP, '1') wait(700,1000)


    setsetting('Looting/OpenNextBP', 'yes')
    setsetting('Looting/OpenNextBP', 'yes')

    Level Latest Scripts
    250+
    Oramond Sewers [MAGE |RP X1 | RP X2 |RP X3|EK X2 | EK X1]
    200+
    Banuta X2 [MAGE | RP]
    280+
    Roshamuul Mountain [RP]
    280+
    Ferumbras Lair [RP]
    250+
    Roshamuul North Silencers [RP]

 

 

Posting Permissions

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