Results 1 to 4 of 4

Thread: Bp checker

  1. #1
    Normal User Moustah's Avatar
    Join Date
    Jul 2012
    Posts
    67
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5

    Bp checker

    So script for demons which im using sometimes closes one backpack

    There are few bp checkers before hunt, but not inside respawn

    I know it should look something like this:


    if windowcount() < 4 then closewindows()
    then
    closewindows()
    wait(500, 1000)
    openitem(MainBP, 'back')
    wait(500, 1000)
    resizewindows()
    wait(500, 1000)
    openitem(PotionsBP, MainBP, true)
    wait(500, 1000)
    resizewindows()
    openitem(LootBpId, MainBP, true)
    wait(500, 1000)
    resizewindows()
    openitem(GoldBP, MainBP, true)
    wait(500, 1000)
    resizewindows()
    wait(500, 1000)


    But I dont know where should i paste it, it will be some waypoint or action or what? I dont know really

    So what im asking you is where should i paste this script? explain it for me like for noob pls xD


    Thanks in advance for your help!

  2. #2
    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
    Paste this in an action waypoint in the start/end of the hunting round.
    PHP Code:
    while (windowcount() < 4) do
        
    closewindows()
        
    wait(5001000)
        
    openitem(MainBP'back')
        
    wait(5001000)
        
    resizewindows() 
        
    wait(5001000)
        
    openitem(PotionsBPMainBPtrue)
        
    wait(5001000)
        
    resizewindows() 
        
    openitem(LootBpIdMainBPtrue)
        
    wait(5001000)
        
    resizewindows()
        
    openitem(GoldBPMainBPtrue)
        
    wait(5001000)
        
    resizewindows()
        
    wait(5001000)
    end 

  3. #3
    Normal User Moustah's Avatar
    Join Date
    Jul 2012
    Posts
    67
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    Its working, thanks alot!

    There is one more thing - soft check

    if boots==6530
    then
    gotolabel("Softboots")
    else
    gotolabel("demons")
    end


    I think it should be something like "if 1 or more worn soft boots in main bp then go to label soft boots"
    Cause when i was refiling i had 1 worn softs in bp and script didnt go to repair them.

    Anyone know how exactly script like this should look?

  4. #4
    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
    This will check boots slot & backpack for worn soft boots
    PHP Code:
    if (boots == 6530) or (itemcount(6530) > 0then
        gotolabel
    ("Softboots")
    else
        
    gotolabel("demons")
    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
  •