Im trying to make the bot goto refill tab if its got the amount of minimum mana/gsps/arrows, but it dosent seem to work, anyone can help out?
Code:---Configurations, edit at own risk! MPMax = getuseroption("Max Mana Potions") HPMax = getuseroption("Max Great Spirit Potions") ArrowMax = getuseroption("Max Arrow") MPType = getuseroption("Mana Potion") HPType = getuseroption("Great Spirit Potion") ArrowType = getuseroption("Arrow") MPPrice = getuseroption("Mana Potion Price") HPPrice = getuseroption("Great Spirit Potion Price") ArrowPrice = getuseroption("Arrow Price") MPMin = getuseroption("Min Mana Potions") HPMin = getuseroption("Min Great Spirit Potions") ArrowMin = getuseroption("Min Arrow") if (itemcount(MPType) < MPMin+0) or (itemcount(HPType) < HPMin+0) or (itemcount(ArrowType) < ArrowMin+0) then gotolabel(000, "Refill") else gotolabel("start") end