I was using this version of script, it uses also mana pots and mana elixir, for dragon-network.
//
// ENHANCED MANA SCRIPT (WORKS AT DRAGON-NETWORK SERVERS)
//
Label(INICIO)
CharStatus(MP,<,60) //>>> VERIFY IF MANA IS LOW THAN 60% THAN USE E-MANA <<<//
{
Label(MANA)
USEITEM(itemname[iD=8633])
USEITEM(Enhanced Mana Potion[iD=9264])
DELAY(19000) //>>> E-MANA POT DELAY (20000 = 20 SECONDS) <<<//
CharStatus(MP,<,70) //>>> IF CHAR MP LOW THAN 90% USE E-MANA AGAIN <<<//
{
Call(MANA)
}
}
DELAY(5000)
Call(INICIO)