Results 1 to 4 of 4

Thread: Reopen bp action?

  1. #1
    iBot User Salahadi235's Avatar
    Join Date
    Aug 2012
    Location
    Sweden
    Posts
    139
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    12
    Rep Power
    5

    Reopen bp action?

    i found something like that:
    PHP Code:
    if windowcount() < 4 then
    pausewalking
    (40000)

    closewindows()
    wait(1000)

    local mainBP "Demon Backpack"
    local stacckableBP "Brocade Backpack"
    local lootBP "Blue Backpack"
    local goldBP "Golden Backpack"

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

    if windowcount(stackableBP) < and maround(2) == and not lootbodies
    then
    wait
    (500)
    openitem(stackableBPmainBPtrue)
    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 
    I edited it a little bit but i woona add more action like that on it to make it work smoothly:
    before
    PHP Code:
    setsettings("Settings\\Targeting\\Enabled""no"
    and after:
    PHP Code:
    setsettings("Settings\\Targeting\\Enabled""yes"
    How to make it work?

  2. #2

    Join Date
    Oct 2012
    Posts
    11
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    Do you want this action to be a WP action or to run it continually?

    I don't quite understand why you have so much code to re-open your bps.

  3. #3
    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
    Why do you care about targeting? The action will already not run unless there are no monsters on the screen already, just change the maround to 7 or so.

  4. #4
    iBot User Salahadi235's Avatar
    Join Date
    Aug 2012
    Location
    Sweden
    Posts
    139
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    12
    Rep Power
    5
    sorry i was offline for a long time, i need this as continually to reconect after ss thats why need to ratgeting off when monster close afrer reconect... but i change my mind i am not going to set the reconect after ss so nvm

Posting Permissions

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