on *:TEXT:!dm1:#pcstaff:{ if (%p1 == $null) {
Set %p1 $nick
set %hp1 99
msg $chan %p1 has started a death match, type !dm2 to join pls.
}
}
on *:TEXT:!dm2:#pcstaff:{ if ($nick == %p1) { halt }
elseif (%p2 == $null) {
set %p2 $nick
set %hp2 99
msg $chan $nick has joined the Dm. %p1 and %p2 Will now battle it out 4FIGHT }
}
on *:TEXT:!whip:#pcstaff:{
if (%p1 == $null || %p2 == $null) { msg $chan There needs to be two players to play the game type $iif(%p1,!dm2,!dm1) to join. }
elseif ($nick == %p1) {
set %hit $rand(0,40)
dec %hp2 %hit
msg $chan $nick hits %p2 %hit %+, %p2 has %hp2 hits left.
if (%hp2 =< 0) {
msg $chan %p2 is dead, %p1 wins :o yay for %p1 $+ . The dm has reset please fight again its fun to watch :o.
unset %p1
unset %p2
}
}
if ($nick == %p2) {
set %hit $rand(0,40)
dec %hp %hit
msg $chan $nick hits %p1 %hit $+, %p1 has %hp1 hits left.
if (%hp1 =< 0) {
msg $chan %p1 is dead, %p2 wins :o yay for %p2 $+ . The dm has reset please fight again its fun to watch :o.
unset %p1
unset %p2
}
}
on *:TEXT:!dds:#pcstaff:{ if (%p1 == $null || %p2 == $null) { msg $chan There needs to be two players to play the game type $iif(%p1,!dm2,!dm1) to join. }
elseif ($nick == %p1) {
set %hit1 $rand(0,48)
set %hit2 $rand(0,48)
dec %hp2 %hit1
dec %hp2 %hit2
msg %chan %p1 has just hit %p2 a %hit1 $+ , $+ %hit2 dds spec. %p2 has %hp2 hitpoints left.
if (%hp2 =< 0) {
msg $chan %p2 is dead, %p1 wins :o yay for %p1 $+ . The dm has reset please fight again its fun to watch :o.
unset %p1
unset %p2
}
}
if ($nick == %p2) {
set %hit1 $rand(0,48)
set %hit2 $rand(0,48)
dec %hp1 %hit1
dec %hp1 %hit2
msg %chan %p2 has just hit %p1 a %hit1 $+ , $+ %hit2 dds spec. %p1 has %hp1 hitpoints left.
if (%hp1 =< 0) {
msg $chan %p1 is dead, %p2 wins :o yay for %p2 $+ . The dm has reset please fight again its fun to watch :o.
unset %p1
unset %p2
}
}