MP Potion Item
public text v1 · immutableon *:text:mp potion*:%BattleChannel:{
if (%fightera == $nick) {
if ($readini(batscore.ini, %fightera, item) == MP Potion) { msg %BattleChannel 12 $+ %fightera uses an MP Potion and replenishes 300 of their MP! | useitem | inc -s %mpa 300 | switch }
else msg %BattleChannel 12 $+ %fightera $+ , you don't have an MP Potion!
}
}
Put this in Item.ini
------
[MP Potion]
price=150