Advertisement
Guest User

Untitled

a guest
Sep 22nd, 2017
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.67 KB | None | 0 0
  1. if Curing.sipbalance == 1 and Curing.aeon == 0 and Curing.asleep == 0 and Curing.anorexia == 0 then -- So the following is saying if I have sipbalance, and I don't have aeon or am asleep or have anorexia, to send the following.
  2.     if Curing.currenthealth < (Curing.maxhealth * .85) then
  3.         send("sip health") -- Pretty basic, if my current health is less then 85% of my max health, then I send sip health.
  4.     elseif Curing.currentmana < (Curing.maxmana * .85) then
  5.         send("sip mana") -- If my health is above 85% of my max health, then it moves on to check my mana. If my mana is 85% or less then my max mana, I sip mana.
  6.       end -- ends the second if statement
  7.     end -- ends the first
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement