on *:TEXT:!dmace*:#:{ if (%Dm. [ $+ [ $chan ] ] == on) { if ($nick == %p1) && (%move. [ $+ [ %p1 ] ] == on) { if (%Freeze. [ $+ [ %p1 ] ] != $null) { notice $nick you are frozen! | halt } else { var %dmace $rand(0,46) dec %hp. [ $+ [ %p2 ] ] %dmace if (%hp. [ $+ [ %p2 ] ] <= 0) { msg $chan 12 $nick 7has hit 12 %whip 7 with his 12dmace 7 on12 %p2 ! %p2 7has no hp left! 12 $nick 7 wins! inc %win. [ $+ [ %p1 ] ] 1 inc %loss. [ $+ [ %p2 ] ] 1 msg $chan 7 Statstics : 12 %p2 : 7 wins : 12 %win. [ $+ [ %p2 ] ] 7 losses: 12 %loss. [ $+ [ %p2 ] ] msg $chan 12 %p1 : 7 wins : 12 %win. [ $+ [ %p1 ] ] 7 losses : 12 %loss. [ $+ [ %p1 ] ] enddm } elseif (%hp. [ $+ [ %p2 ] ] > 0) { msg $chan 12 $nick 7has hit 12 %whip 7 with his 12dmace 7 on 12 %p2 ! %p2 7has 12 %hp. [ $+ [ %p2 ] ] 7 hp left! notice %p2 its your turn! unset %dmace unset %move. [ $+ [ %p1 ] ] set %move. [ $+ [ %p2 ] ] on } } } elseif ($nick == %p2) && (%move. [ $+ [ %p2 ] ] == on) { if (%Freeze. [ $+ [ %p2 ] ] != $null) { notice $nick you are frozen! | halt } else { var %dmace $rand(0,46) dec %hp. [ $+ [ %p1 ] ] %dmace if (%hp. [ $+ [ %p1 ] ] <= 0) { msg $chan 12 $nick 7has hit 12 %whip 7 with his 12dmace 7 on12 %p1 ! %p1 7has no hp left! 12 $nick 7 wins! inc %win. [ $+ [ %p2 ] ] 1 inc %loss. [ $+ [ %p1 ] ] 1 msg $chan 7 Statstics : 12 %p2 : 7 wins : 12 %win. [ $+ [ %p2 ] ] 7 losses: 12 %loss. [ $+ [ %p2 ] ] msg $chan 12 %p1 : 7 wins : 12 %win. [ $+ [ %p1 ] ] 7 losses : 12 %loss. [ $+ [ %p1 ] ] enddm } elseif (%hp. [ $+ [ %p1 ] ] > 0) { msg $chan 12 $nick 7has hit 12 %whip 7 with his 12dmace 7 on12 %p1 ! %p1 7has 12 %hp. [ $+ [ %p1 ] ] 7 hp left! notice %p1 its your turn! unset %dmace unset %move. [ $+ [ %p2 ] ] set %move. [ $+ [ %p1 ] ] on } } } } }