on 1:TEXT:meteor*:%BattleChannel:{ if ((%fightera == $nick)) { if ((%mpa >= 200)) { msg %BattleChannel 12 %fightera used 200 MP to use Meteor! | dec %mpa 200 | msg %BattleChannel 12 %fightera produces a huge ball of fire. | meteor } else { msg %BattleChannel 12 %fightera $+ , you don't have enough MP to use Meteor! } } } alias meteor { if ($readini(batscore.ini, %fightera, accessory) == robe of magi) set %dam $rand(350,500) else set %dam $rand(300,400) msg %BattleChannel 12 %fightera 12 casts 4Meteor and inflicts %dam points of damage! dec -s %hpi %dam switch }