Advertisement
Guest User

Untitled

a guest
Jan 28th, 2015
205
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. on *:TEXT:!rps *:#: {
  2.   if ($nick isop #) {
  3.     if ($2 == scissors) { PAPER --- You win.... again. Stupid cheating mods. } { HALT }
  4.     if ($2 == paper) { ROCK --- You win.... again. Stupid cheating mods. } { HALT }
  5.     if ($2 == rock) { SCISSORS --- You win.... again. Stupid cheating mods. } { HALT }
  6.   else
  7.     if ($2 == scissors) {
  8.       var %scissors = $rand(1,3)
  9.       if (%scissors == 1) {
  10.         msg $chan ROCK -- Rock beats Scissors! You lose, $upper $nick
  11.         msg $chan .timeout $nick 2
  12.       }
  13.       if (%scissors == 2) { msg $chan PAPER -- Hmm... You win this time, $upper $nick }
  14.       if (%scissors == 3) { msg $chan SCISSORS -- It's a draw. }
  15.     }
  16.     if ($2 == paper) {
  17.       var %paper = $rand(1,3)
  18.       if (%paper == 1) {
  19.         msg $chan SCISSORS -- Scissors beats Paper! You lose, $upper $nick
  20.         msg $chan .timeout $nick 2
  21.       }
  22.       if (%paper == 2) { msg $chan ROCK -- Hmm... You win this time, $upper $nick }
  23.       if (%paper == 3) { msg $chan PAPER -- It's a draw. }
  24.     }
  25.     if ($2 == rock) {
  26.       var %rock = $rand(1,3)
  27.       if (%rock == 1) {
  28.         msg $chan PAPER -- PAPER beats Rock! You lose, $upper $nick
  29.         msg $chan .timeout $nick 2
  30.       }
  31.       if (%rock == 2) { msg $chan SCISSORS -- Hmm... You win this time, $upper $nick }
  32.       if (%rock == 3) { msg $chan ROCK -- It's a draw. }
  33.     }
  34.   }
  35. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement