- on *:TEXT:$($me $+ *):#:{
- if ($2 == higherlower) {
- if (%higherlower) { halt }
- else {
- set %higherlower $rand(10,99)
- set %higherlower.number $rand(1,%higherlower)
- msg $chan Guess a number between 1 and %higherlower $+ . What could it be? Guess it with $me guess <number>
- echo -a Number: %higherlower.number
- }
- }
- if ($2 == guess) {
- if (%higherlower.number) && (%higherlower) {
- if ($3 isnum) {
- if ($3 > %higherlower.number) {
- msg $chan Nice try $nick $+ , but the correct number is lower than $3 $+ ! Try again
- halt
- }
- if ($3 < %higherlower.number) {
- msg $chan Nice try $nick $+ , but the correct number is higher than $3 $+ ! Try again
- halt
- }
- if ($3 == %higherlower.number) {
- msg $chan Good job $nick $+ , you guessed the correct number: %higherlower.number
- unset %higher*
- }
- }
- else {
- notice $nick Error, you need to type a number!
- halt
- }
- }
- }
- }
Undefined
By: higherlower | Date: Dec 17 2006 19:37 | Format: None | Expires: never | Size: 1.06 KB | Hits: 1440
Latest pastes
1 hours ago
11 hours ago
1 days ago
2 days ago
2 days ago