SHOW:
|
|
- or go back to the newest paste.
1 | on *:TEXT:!rps *:#: { | |
2 | - | if ($2 == scissors) { |
2 | + | if ($nick isop #) { |
3 | - | var %scissors = $rand(1,3) |
3 | + | if ($2 == scissors) { PAPER --- You win.... again. Stupid cheating mods. } { HALT } |
4 | - | if (%scissors == 1) { |
4 | + | if ($2 == paper) { ROCK --- You win.... again. Stupid cheating mods. } { HALT } |
5 | - | msg $chan ROCK -- Rock beats Scissors! You lose, $upper $nick |
5 | + | if ($2 == rock) { SCISSORS --- You win.... again. Stupid cheating mods. } { HALT } |
6 | - | msg $chan .timeout $nick 2 |
6 | + | else |
7 | if ($2 == scissors) { | |
8 | - | if (%scissors == 2) { msg $chan PAPER -- Hmm... You win this time, $upper $nick } |
8 | + | var %scissors = $rand(1,3) |
9 | - | if (%scissors == 3) { msg $chan SCISSORS -- It's a draw. } |
9 | + | if (%scissors == 1) { |
10 | msg $chan ROCK -- Rock beats Scissors! You lose, $upper $nick | |
11 | - | if ($2 == paper) { |
11 | + | msg $chan .timeout $nick 2 |
12 | - | var %paper = $rand(1,3) |
12 | + | } |
13 | - | if (%paper == 1) { |
13 | + | if (%scissors == 2) { msg $chan PAPER -- Hmm... You win this time, $upper $nick } |
14 | - | msg $chan SCISSORS -- Scissors beats Paper! You lose, $upper $nick |
14 | + | if (%scissors == 3) { msg $chan SCISSORS -- It's a draw. } |
15 | - | msg $chan .timeout $nick 2 |
15 | + | |
16 | if ($2 == paper) { | |
17 | - | if (%paper == 2) { msg $chan ROCK -- Hmm... You win this time, $upper $nick } |
17 | + | var %paper = $rand(1,3) |
18 | - | if (%paper == 3) { msg $chan PAPER -- It's a draw. } |
18 | + | if (%paper == 1) { |
19 | msg $chan SCISSORS -- Scissors beats Paper! You lose, $upper $nick | |
20 | - | if ($2 == rock) { |
20 | + | msg $chan .timeout $nick 2 |
21 | - | var %rock = $rand(1,3) |
21 | + | } |
22 | - | if (%rock == 1) { |
22 | + | if (%paper == 2) { msg $chan ROCK -- Hmm... You win this time, $upper $nick } |
23 | - | msg $chan PAPER -- PAPER beats Rock! You lose, $upper $nick |
23 | + | if (%paper == 3) { msg $chan PAPER -- It's a draw. } |
24 | - | msg $chan .timeout $nick 2 |
24 | + | |
25 | if ($2 == rock) { | |
26 | - | if (%rock == 2) { msg $chan SCISSORS -- Hmm... You win this time, $upper $nick } |
26 | + | var %rock = $rand(1,3) |
27 | - | if (%rock == 3) { msg $chan ROCK -- It's a draw. } |
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 | } |