Results 1 to 4 of 4

Thread: Eating food only when mana goes below 80

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

    Eating food only when mana goes below 80

    Hello!
    I need a script that will eat food only when mana goes below 80, I want it to use only 1 brown mushroom.

  2. #2
    Normal User
    Join Date
    Mar 2013
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    4
    Bump, help me please, I just started with iBot

  3. #3
    Normal User Nydaa's Avatar
    Join Date
    Jul 2012
    Location
    Europe
    Posts
    216
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    4 Post(s)
    Reputation
    24
    Rep Power
    5
    This will turn on the EatFood function of the bot when your mana is <80 and then will turn it off once your mana is above 80

    if mp < 80 then
    setsettings("Settings\\CaveBot\\Settings\\EatFood","yes")
    else
    setsettings("Settings\\CaveBot\\Settings\\EatFood","no")
    end

  4. #4
    Normal User
    Join Date
    Mar 2013
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    4
    Thank you

Posting Permissions

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