Results 1 to 4 of 4

Thread: Please help with action script :)

  1. #1
    Normal User
    Join Date
    Aug 2013
    Location
    HouseMafia
    Posts
    10
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    1 Post(s)
    Reputation
    10
    Rep Power
    4

    Exclamation Please help with action script :)

    Hello I need action when strong mana potion low than 150 cavebot stop and give logout..
    Go go go make levels!

  2. #2
    Premium User Eldar's Avatar
    Join Date
    Apr 2013
    Location
    Poland
    Posts
    1,335
    Mentioned
    37 Post(s)
    Tagged
    2 Thread(s)
    Quoted
    62 Post(s)
    Reputation
    159
    Rep Power
    7
    Lua Code:
    if itemcount("strong mana potion") < 150 then
    setcavebot("no")
    wait(1000,1500)
    logout()
    end

  3. #3
    Normal User
    Join Date
    Aug 2013
    Location
    HouseMafia
    Posts
    10
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    1 Post(s)
    Reputation
    10
    Rep Power
    4
    Don't work
    Go go go make levels!

  4. #4
    iBot User
    Join Date
    Jun 2012
    Posts
    517
    Mentioned
    11 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    4 Post(s)
    Reputation
    132
    Rep Power
    7
    Lua Code:
    if itemcount("strong mana potion") <= 150 then
        while battlesigned do
            pausewalking(1000)
            updateworld()
        end
        setcavebot("off")
        while connected to
            logout()
            updateworld()
        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
  •