Results 1 to 4 of 4

Thread: need help bp opener....

  1. #1
    Normal User
    Join Date
    May 2012
    Location
    Spain
    Posts
    98
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    5
    Rep Power
    0

    need help bp opener....

    i just buy one scrip from nox~ and the script dont open backpacks maybe some1 can tell me why?

    PHP Code:
    setsettings("Settings\\CaveBot\\Settings\\OpenNextBp""no")
    closewindows()
    wait(2000)
    openitem(MainBackpackName,'back')
    wait(15002000)
    resizewindows()
    wait(15002000)
    openitem(SupplyBackpackName,MainBackpackName,true)
    wait(15002000)
    resizewindows()
    wait(15002000)
    openitem(LootBackpackName,MainBackpackName,true)
    wait(15002000)
    resizewindows()

    wait(15002000)
    resizewindows()
    wait(1000
    what is wrong here?
    part of setup
    PHP Code:
    -->  ▌│█║▌║▌║ Backpack Setup ║▌║▌║█│▌
                                                                      
        
    MainBackpackName = ("Dragon Backpack") -- Main Backpack Name:
        
    SupplyBackpackName = ("Demon Backpack") -- Supply Backpack Name:
        
    LootBackpackName = ("Fur Backpack") -- Loot Backpack Name:
        
    GoldBackpackName = ("Purple Backpack") -- Gold Backpack Name
    maybe some1 know why it doesnt work.. im rly mad XD

  2. #2
    Normal User Tswift's Avatar
    Join Date
    Aug 2012
    Location
    USA
    Posts
    114
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    13
    Rep Power
    5
    You need to place an "end" on the back of the script.

    Try this:

    Code:
    setsettings("Settings\\CaveBot\\Settings\\OpenNextBp", "no")
    closewindows()
    wait(2000)
    openitem(MainBackpackName,'back')
    wait(1500, 2000)
    resizewindows()
    wait(1500, 2000)
    openitem(SupplyBackpackName,MainBackpackName,true)
    wait(1500, 2000)
    resizewindows()
    wait(1500, 2000)
    openitem(LootBackpackName,MainBackpackName,true)
    wait(1500, 2000)
    resizewindows()
    
    wait(1500, 2000)
    resizewindows()
    wait(1000)
    end

  3. #3
    Normal User
    Join Date
    Jun 2012
    Location
    Sweden
    Posts
    1,671
    Mentioned
    18 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    8 Post(s)
    Reputation
    132
    Rep Power
    9
    Dont put an end, there's no statement to close.
    Do you get any errors?

  4. #4
    Normal User Tswift's Avatar
    Join Date
    Aug 2012
    Location
    USA
    Posts
    114
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    13
    Rep Power
    5
    Oh you're right xD I thought there was a while in the script. You might try putting a while in there like:

    Code:
    setsettings("Settings\\CaveBot\\Settings\\OpenNextBp", "no")
    
    while windowcount() < 3 do
    closewindows()
    wait(2000)
    openitem(MainBackpackName,'back')
    wait(1500, 2000)
    resizewindows()
    wait(1500, 2000)
    openitem(SupplyBackpackName,MainBackpackName,true)
    wait(1500, 2000)
    resizewindows()
    wait(1500, 2000)
    openitem(LootBackpackName,MainBackpackName,true)
    wait(1500, 2000)
    resizewindows()
    
    wait(1500, 2000)
    resizewindows()
    wait(1000)
    end

Posting Permissions

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