All pastes #708431 Raw Edit

Someone

public text v1 · immutable
#708431 ·published 2007-09-23 20:41 UTC
rendered paste body
on *:TEXT:!dm:#weepee:{ 
if (!%dm.p1) {
  Set %dm.p1 $nick
  set %dm.hp1 99
  set %dm.shark1 20
  msg $chan %dm.p1 has started a death match, type !dm to join pls.
}
elseif ($nick == %dm.p1) { halt }
elseif (!%dm.p2) {
  set %dm.p2 $nick
  set %dm.hp2 99
  set %dm.shark2 20
  msg $chan $nick has joined the DM. %dm.p1 and %dm.p2 Will now battle it out 4FIGHT
  set %dm.turn $rand(1,2)
  msg $chan %dm.p [ $+ [ %dm.turn ] ] goes first.
}
else {
  msg $chan There is already a DM underway.
}
}
on *:TEXT:!whip:#weepee: { 
if (%dm.p1 == $null || %dm.p2 == $null) { 
  msg $chan There needs to be two players to play the game, type !dm to join. 
}
elseif ($nick == %dm.p1) && (%dm.turn == 1) && (%dm.bind1 == $null) {
  set %dm.hit $rand(0,38)
  dec %dm.hp2 %dm.hit
  msg $chan $nick has just hit %dm.p2 a %dm.hit with a whip. %dm.p2 has %dm.hp2 hitpoints left.
  set %dm.turn 2
  if (%dm.hp2 <= 0) {
    msg $chan %dm.p2 is dead, %dm.p1 wins :o yay for %dm.p1 $+ . The dm has reset please fight again its fun to watch. :o
    unset %dm.*
  }
}
elseif ($nick == %dm.p2) && (%dm.turn == 2) && (%dm.bind2 == $null) {
  set %dm.hit $rand(0,38)
  dec %dm.hp1 %dm.hit
  msg $chan $nick has just hit a %dm.p1 %dm.hit with a whip. %dm.p1 has %dm.hp1 hitpoints left.
  set %dm.turn 1
  if (%dm.hp1 <= 0) {
    msg $chan %dm.p1 is dead, %dm.p2 wins :o yay for %dm.p2 $+ . The dm has reset please fight again its fun to watch. :o
    unset %dm.*	  
  }      
}
}
on *:TEXT:!dds:#weepee: { 
if (%dm.p1 == $null || %dm.p2 == $null) { 
  msg $chan There needs to be two players to play the game type !dm to join. 
}
elseif ($nick == %dm.p1) && (%dm.turn == 1) && (%dm.bind1 == $null) {
  set %dm.hit1 $rand(0,34)
  set %dm.hit2 $rand(0,34)
  dec %dm.hp2 %dm.hit1
  dec %dm.hp2 %dm.hit2
  msg $chan %dm.p1 has just hit %dm.p2 a %dm.hit1 $+ , $+ %dm.hit2 dds spec. %dm.p2 has %dm.hp2 hitpoints left.
  set %dm.turn 2
  if (%dm.hp2 <= 0) {
    msg $chan %dm.p2 is dead, %dm.p1 wins :o yay for %dm.p1 $+ . The dm has reset please fight again its fun to watch :o.
    unset %dm.*
  }
}
elseif ($nick == %dm.p2) && (%dm.turn == 2)&& ( %dm.bind2 == $null) {
  set %dm.hit1 $rand(0,34)
  set %dm.hit2 $rand(0,34)
  dec %dm.hp1 %dm.hit1
  dec %dm.hp1 %dm.hit2
  msg $chan %dm.p2 has just hit %dm.p1 a %dm.hit1 $+ , $+ %dm.hit2 dds spec. %dm.p1 has %dm.hp1 hitpoints left.
  set %dm.turn 1
  if (%dm.hp1 <= 0) {
    msg $chan %dm.p1 is dead, %dm.p2 wins :o yay for %dm.p2 $+ . The dm has reset please fight again its fun to watch :o.
    unset %dm.*
  }
}
}  
on *:text:!shark:#weepee:{ 
  if (%dm.p1 == $null || %dm.p2 == $null) { 
    msg $chan There needs to be two players to play the game, type !dm to join. 
  }
  elseif ($nick == %dm.p1) && (%dm.turn == 1) && (%dm.shark1 >= 1) {
    set %dm.hp1 $calc( %dm.hp1 + 20)
    dec %dm.shark1 1
    msg $chan $nick has eaten a shark and now has %dm.hp1 hp left.
    notice $nick You now have %dm.shark1 sharks left.
  }
  elseif ($nick == %dm.p2) && (%dm.turn == 2) && (%dm.shark2 >= 1) {
    set %dm.hp2 $calc( %dm.hp2 + 20)
    dec %dm.shark2 1
    msg $chan $nick has eaten a shark and now has %dm.hp2 hp left.
    notice $nick You now have %dm.shark2 sharks left.
  } 
}
on *:text:!gmaul:#weepee:{
  if (%dm.p1 == $null || %dm.p2 == $null) {
    msg $chan There needs to be two players to play the game, type !dm to join.
  }
  elseif ($nick == %dm.p1) && (%dm.turn == 1) && (%dm.bind1 == $null) {
    set %dm.hit $rand(0,36)
    dec %dm.hp2 %dm.hit 
    msg $chan %dm.p1 has just hit %dm.p2 a %dm.hit with a Gmaul. %dm.p2 has %dm.hp2 hitpoints left.
    set %dm.turn 2
    if (%dm.hp2 <= 0) {
      msg $chan %dm.p2 is dead, %dm.p1 wins :o yay for %dm.p1 $+ . The dm has reset please fight again its fun to watch :o.
      unset %dm.*
    }
  }
  elseif ($nick == %dm.p2) && ( %dm.turn == 2) && (%dm.bind2 == $null) {
    set %dm.hit $rand(0,36)
    dec %dm.hp1 %dm.hit
    msg $chan %dm.p2 has just hit %dm.p1 a %dm.hit with a Gmaul. %dm.p1 has %dm.hp1 hitpoints left.
    set %dm.turn 1
    if (dm.hp1 <= 0) {
      msg $chan %dm.p1 is dead, %dm.p2 wins :o yay for %dm.p1 $+ . The dm has reset please fight again its fun to watch :o.
      unset dm.*
    }
  }
}
on *:text:!cbow:#weepee:{
  if (%dm.p1 == $null || %dm.p2 == $null) {
    msg $chan There needs to be two players to play the game, type !dm to join.
  }
  elseif ($nick == %dm.p1) && (%dm.turn == 1) {
    set %dm.hit $rand(0,23)
    dec %dm.hp2 %dm.hit 
    msg $chan %dm.p1 has just hit %dm.p2 a %dm.hit with a crystal arrow. %dm.p2 has %dm.hp2 hitpoints left.
    set %dm.turn 2
    unset %dm.bind1
    if (%dm.hp2 <= 0) {
      msg $chan %dm.p2 is dead, %dm.p1 wins :o yay for %dm.p1 $+ . The dm has reset please fight again its fun to watch :o.
      unset %dm.*
    }
  }
  elseif ($nick == %dm.p2) && ( %dm.turn == 2) {
    set %dm.hit $rand(0,23)
    dec %dm.hp1 %dm.hit
    msg $chan %dm.p2 has just hit %dm.p1 a %dm.hit with a crystal arrow. %dm.p1 has %dm.hp1 hitpoints left.
    set %dm.turn 1
    unset %dm.bind2
    if (dm.hp1 <= 0) {
      msg $chan %dm.p1 is dead, %dm.p2 wins :o yay for %dm.p1 $+ . The dm has reset please fight again its fun to watch :o.
      unset dm.*
    }
  }
}
on *:text:!iceblitz:#weepee:{
  if (%dm.p1 == $null || %dm.p2 == $null) {
    msg $chan There needs to be two players to play the game, type !dm to join.
  }
  elseif ($nick == %dm.p1) && (%dm.turn == 1) {
    set %dm.bind2 yes
    set %dm.hit $rand(0,26)
    dec %dm.hp2 %dm.hit 
    msg $chan %dm.p1 has just hit %dm.p2 a %dm.hit with a magical shard of ice. %dm.p2 has %dm.hp2 hitpoints left.
    set %dm.turn 2
    unset %dm.bind1
    if (%dm.hp2 <= 0) {
      msg $chan %dm.p2 is dead, %dm.p1 wins :o yay for %dm.p1 $+ . The dm has reset please fight again its fun to watch :o.
      unset %dm.*
    }
  }
  elseif ($nick == %dm.p2) && ( %dm.turn == 2) {
    set %dm.hit $rand(0,26)
    set %dm.bind1 yes
    dec %dm.hp1 %dm.hit
    msg $chan %dm.p2 has just hit %dm.p1 a %dm.hit with a magical shard of ice. %dm.p1 has %dm.hp1 hitpoints left.
    set %dm.turn 1
    unset %dm.bind2
    if (dm.hp1 <= 0) {
      msg $chan %dm.p1 is dead, %dm.p2 wins :o yay for %dm.p1 $+ . The dm has reset please fight again its fun to watch :o.
      unset dm.*
    }
  }
}
on *:text:!bloodblitz:#weepee:{
  if (%dm.p1 == $null || %dm.p2 == $null) {
    msg $chan There needs to be two players to play the game, type !dm to join.
  }
  elseif ($nick == %dm.p1) && (%dm.turn == 1) {
    set %dm.hit $rand(0,25)
    dec %dm.hp2 %dm.hit
    set %dm.hp1 $calc(%dm.hp1 + %dm.hit) 
    msg $chan %dm.p1 has just hit %dm.p2 a %dm.hit with a magical red knife and adds that health to %dm.p1 $+ . %dm.p2 has %dm.hp2 hitpoints left, and %dm.p1 now has %dm.hp1 hitpoints left.
    set %dm.turn 2
    unset %dm.bind1
    if (%dm.hp2 <= 0) {
      msg $chan %dm.p2 is dead, %dm.p1 wins :o yay for %dm.p1 $+ . The dm has reset please fight again its fun to watch :o.
      unset %dm.*
    }
  }
  elseif ($nick == %dm.p2) && ( %dm.turn == 2) {
    set %dm.hit $rand(0,25)
    dec %dm.hp1 %dm.hit
    set %dm.hp2 $calc(%dm.hp2 + %dm.hit)
    msg $chan %dm.p2 has just hit %dm.p1 a %dm.hit with a magical red knife and adds that health to %dm.p2 $+ . %dm.p1 has %dm.hp1 hitpoints left, and %dm.p2 now has %dm.hp2 hitpoints left.
    set %dm.turn 1
    unset %dm.bind2
    if (dm.hp1 <= 0) {
      msg $chan %dm.p1 is dead, %dm.p2 wins :o yay for %dm.p1 $+ . The dm has reset please fight again its fun to watch :o.
      unset dm.*
    }
  }
}