- 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: 1437
Latest pastes
2 days ago
3 days ago
3 days ago
4 days ago
5 days ago