on 1:TEXT:hyperslash*:%BattleChannel:{ if ((%fightera == $nick)) { if ((%mpa >= 100)) { msg %BattleChannel 12 %fightera used 100 mp to use hyperslash! | dec %mpa 100 | msg %BattleChannel 12 %fightera rushes at %fighteri $+ 12 with a sword. | hyperslash } else { msg %BattleChannel 12 %fightera $+ , you don't have enough mp to use hyperslash! } } } alias hyperslash { set %damtotal $ceil($calc(($readini(batscore.ini, %fightera, weapon)/3)+110)) set %dam $calc($rand(75,%damtotal) + $readini(batscore.ini, %fightera, weapon)) inc %combo 1 inc %combovalue %dam msg %BattleChannel 12 %fightera 12 $read(slash.txt) %fighteri $+ 12 for %dam hp! dec -s %hpi %dam set %slash $rand(0,2) if ((%slash == 0)) { switch } else { hyperslash2 } } alias hyperslash2 { set %damtotal $ceil($calc(($readini(batscore.ini, %fightera, weapon)/3)+110)) set %dam $calc($rand(75,%damtotal) + $readini(batscore.ini, %fightera, weapon)) inc %combo 1 inc %combovalue %dam msg %BattleChannel 12 %fightera 12 $read(slash.txt) %fighteri $+ 12 for %dam hp! dec -s %hpi %dam set %slash $rand(0,2) if ((%slash == 0)) { switch } else { hyperslash } }