Results 1 to 2 of 2

Thread: Help! Urgent!

  1. #1
    Normal User
    Join Date
    Mar 2012
    Posts
    72
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    7
    Rep Power
    0

    Help! Urgent!

    How do I turn to USE ENERGY RING when 3 or 4 behemoths (example) on the screen? And AFTER the behemoths they leave the RING back to the backpack?

    THANKS!

  2. #2
    Normal User Balbek's Avatar
    Join Date
    May 2012
    Location
    LDZ
    Posts
    554
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    4 Post(s)
    Reputation
    84
    Rep Power
    6
    PHP Code:
    local count -- // how many to put energy ring on
    local monsters = {"Behemoth""Cave Rat"} -- // considered monsters

    if (maround(7falseunpack(monsters)) >= countthen
        
    if (itemcount(3051) > 0) and (ring ~= 3088then
            moveitems
    (3051"all""ring"1)
            
    wait(300,700)
        
    end
    else
        if (
    ring == 3088) and (windowcount() > 0then
            moveitems
    (3088"ring""all"1)
            
    wait(500,1000)
        
    end
    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
  •