I want the bot to use GSP if my HP is lower then 50% or mana lower then 60%.
Code:------Potions------ auto (200,500) if $hppc <= 50 useoncreature ("Great Spirit Potion",$self) >=1 elseif $mppc <= 60 useoncreature ("great spirit potion", $self) >=1 end
would this work?