Label(mana)
CharStatus(HP,!=,0)
{
CharStatus(MP,<,99)
{
Label(MANA)
USEITEM(Mana Potion[iD=728])
}
}
DELAY(1000)
Call(mana)
I did not create this fully (just the CharStatus(HP,!=,0) thing). For hp potions you might want to Use walker auto option for healig potions. For CP potions there is CP clickers that you can download (Use search button).