- on *:TEXT:$($me $+ *):#:{
- if ($2 == number) {
- if (%number.number) { halt }
- else {
- set %number.number $rand(1,40)
- msg $chan K im thinking of a number between 1 and 40 what could it be?
- echo -a number: $readini(numbers.ini,numbers,%number.number)
- }
- }
- if ($2 == guess) {
- if (%number.number) {
- if ($3 > $readini(numbers.ini,numbers,%number.number)) && ($3 isnum) {
- msg $chan Nice try $nick but you guessed to High
- }
- if ($3 < $readini(numbers.ini,numbers,%number.number)) && ($3 isnum) {
- msg $chan Nice try $nick but you guessed to Low
- }
- if ($3 == $readini(numbers.ini,numbers,%number.number)) && ($3 isnum) {
- msg $chan Good Job $nick you Guessed the correct number
- unset %number.number
- }
- elseif ($3 !isnum) {
- notice $nick You need to type a number
- }
- }
- }
- }
Undefined
By: qsqfsqf | Date: Dec 17 2006 18:28 | Format: None | Expires: never | Size: 918 B | Hits: 1322
Latest pastes
54 minutes ago
10 hours ago
1 days ago
2 days ago
2 days ago