Slap Script
Posted by Fubar
Tuesday, May 18, 2004
Description: Takes a trout and eats it.

on *:ACTION:*:#: {
  if ((*trout* iswm $1-) && (*slaps* iswm $1-)) {
    if (%slap.flood == 1) {
      halt
    }
    inc -u5 %slap.flood
    var %slap.pounds $rand(1,3)
    inc %slap.gained %slap.pounds
    describe $chan takes the trout out of $nick $+ 's hand and eats it gaining %slap.pounds pound $+ $iif(%slap.pounds != 1,s) $+ .  [Weight: %slap.gained $+ lbs $+ $chr(93)
  }
}
Better
Posted by xi0n
Friday, June 11, 2004 03:43pm PDT
This works better and is cooler i recon:

on *:ACTION:*:#: {
  if ((*trout* iswm $1-) && (*slaps* iswm $1-)) {
    if (%slap.flood == 1) {
      halt
    }
    inc -u5 %slap.flood
    var %slap.pounds $rand(1,3)
    inc %slap.gained %slap.pounds
    if ( $me isin $1- ) {
      describe $chan opens his mouth and eats the trout out of $nick $+ 's hand gaining %slap.pounds pound $+ $iif(%slap.pounds != 1,s) $+ .  [Weight: %slap.gained $+ lbs $+ $chr(93)
    }
    else {
      describe $chan takes the trout out of $nick $+ 's hand and eats it gaining %slap.pounds pound $+ $iif(%slap.pounds != 1,s) $+ .  [Weight: %slap.gained $+ lbs $+ $chr(93)
    }
  }
}
Submit a comment
Oops! You need to login or register before you can post a comment!

ebaum's world