Obvious spelling error: balanceToadstool & balaceToadstoolpax wrote:Tried that, and it still doesn't work.Code: Select all
function eventHandlerOnPrompt(event) if affAnorexia == false then if balanceSip then if currentHealth < (3/4 * maxHealth) then send("sip health") balanceSip = false elseif currentMana < (5/8 * maxMana) then send("sip mana") balanceSip = false end elseif balaceToadstool and (currentHealth < (5/8 * maxHealth)) or (currentMana < (1/2 * maxMana)) then send("outr toadstool") send("eat toadstool") balanceToadstool = false end end end
Debug console > all