New vampire (Twilight themed script)

By Jelly on Apr 09, 2009

This script is triggered on the text "!newvamp", it will select a random number between 2 and 8 and pounce on a random person, and depending on the random number, do something different.

It is a twilight themed script, I wrote it because I was bored ^^.

Also, the alias version is included.

ON *:TEXT:!newvamp:#: {
  set %blood $rand(2,8)
  set %victim $nick($chan,$r(1,$nick($chan,0)))
  if ( %blood = 2 ) {
    inc %vamped 
    describe $chan pounces on %victim and bites into them, draining 2 pints of blood, and filling them with his venom. (New additions to the Cullen family: %vamped ) 
    { halt }  
  }
  if ( %blood = 3 ) {
    inc %almostcullen 
    describe $chan pounces on %victim and bites into them, draining 3 pints of blood, and filling them with his venom, but they die from the pain. (Almost Cullens: %almostcullen $+ )
    { halt }
  }
  if ( %blood = 4 ) {
    inc %oopskilled  
    describe $chan pounces on %victim and bites into them, draining 4 pints of blood, but just a little too fast. (Heavy bleeders: %oopskilled $+ ) 
    { halt }
  }
  if ( %blood = 5 ) {
    inc %newborns 
    describe $chan pounces on %victim and bites into them, draining 5 pints of blood, turning them into raging a raging newborn that must be put down. (Sad newborn deaths: %newborns $+ ) 
    { halt }
  }
  if ( %blood = 6 ) {
    inc %wimps 
    describe $chan pounces on %victim and bites into them, draining 6 pints of blood, but they don't even survive the initial bite. (Wimps killed: %wimps $+ ) 
    { halt }
  }
  if ( %blood = 7 ) {
    inc %riped )
    describe $chan pounces on %victim and bites into them, draining 7 pints of blood and also loses control, and rips them apart. (Poor bastards ripped apart: %riped $+ ) 
    { halt }
  }
  if ( %blood = 8 ) {
    inc %bledout  
    describe $chan pounces on %victim and bites into them, draining 8 pints of blood completely draining them. Oops! (People I've "lost control" on: %bledout $+ )
    { halt }
  }
  unset %blood
  unset %victim
}

alias newvamp {
  set %blood $rand(2,8)
  set %victim $nick($chan,$r(1,$nick($chan,0)))
  if ( %victim == $me ) { halt }
  else {
    if ( %blood = 2 ) {
      inc %vamped 
      describe $chan pounces on %victim and bites into them, draining 2 pints of blood, and filling them with his venom. (New additions to the Cullen family: %vamped ) 
      { halt }  
    }
    if ( %blood = 3 ) {
      inc %almostcullen 
      describe $chan pounces on %victim and bites into them, draining 3 pints of blood, and filling them with his venom, but they die from the pain. (Almost Cullens: %almostcullen $+ )
      { halt }
    }
    if ( %blood = 4 ) {
      inc %oopskilled  
      describe $chan pounces on %victim and bites into them, draining 4 pints of blood, but just a little too fast. (Heavy bleeders: %oopskilled $+ ) 
      { halt }
    }

    if ( %blood = 5 ) {
      inc %newborns 
      describe $chan pounces on %victim and bites into them, draining 5 pints of blood, turning them into raging newborn that must be put down. ( Sad newborn deaths: %newborns $+ ) 
      { halt }
    }
    if ( %blood = 6 ) {
      inc %wimps 
      describe $chan pounces on %victim and bites into them, draining 6 pints of blood, but they don't even survive the initial bite. (total wimps killed: %wimps $+ ) 
      { halt }
    }
    if ( %blood = 7 ) {
      inc %riped )
      describe $chan pounces on %victim and bites into them, draining 7 pints of blood and also loses control, and rips them apart. (Poor bastards ripped apart: %riped $+ ) 
      { halt }
    }
    if ( %blood = 8 ) {
      inc %bledout  
      describe $chan pounces on %victim and bites into them, draining 8 pints of blood completely draining them. oops! (People I've "lost control" on: %bledout $+ )
      { halt }
    }
    unset %victim
    unset %blood
  }
}

Comments

Sign in to comment.
dma   -  Nov 08, 2015

nice still working in 2015

 Respond  
Ghost-writer   -  Sep 04, 2009

lol $rand(1,10) instead of doing it 10 times and $read(txt.txt) txt file :P. But good job.

 Respond  
Tsukasa-Hikaru   -  Apr 10, 2009

TWILIGHT!?
RAAGGGGGGGGEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE!!!!

 Respond  
Aucun50   -  Apr 09, 2009

Missing an end bracket

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.