Top

Number Guess Game

+ 0 likes
Please Register to submit score.
Average Score  3.7
Scores Submitted  3
Date Added  Apr 28, 2005
Last Updated  Sep 25, 2005

Introduction

A simple number guess game using a randomly generated number.

To start: !num
To guess: !num guess

Also keeps track of the number of correct guesses each person has made

Added Apr. 29, 2005:
!max number --- Sets the maximum number and auto-configures the minium number
!min number --- Sets the minimum number and auto-configures the maximum number

Either or both can be used

Also modified the start part of the code per suggestion by xDaeMoN

Modified Sept. 25, 2005 to prevent someone from setting new high/low amounts while a game is in progress


Grab the Code

Comments

  (5)  RSS
xDaeMoN
Comments: 696
 
mIRC Snippet:  Number Guess Game
Posted on Apr 28, 2005 9:22 pm
Some prob: 1) There should be no space in !num & * in your text event. 2) You need to set your variables as global instead of local 3) It would be nice to give them a low number to guess instead of 5 figures or make it configurable
xDaeMoN
Comments: 696
 
mIRC Snippet:  Number Guess Game
Posted on Apr 28, 2005 9:24 pm
I said in #1 to put a space because if people would just type !num, there is no output. You have to put a space after the !num when you type it so the script would be triggered.
RusselB
Comments: 97
 
mIRC Snippet:  Number Guess Game
Posted on Apr 29, 2005 6:04 pm
Thanks for the suggestions xDaeMoN. Code has been modified to accomodate them
masta_killer
Comments: 3
 
mIRC Snippet:  Number Guess Game
Posted on Oct 20, 2005 4:57 am
yeah umm am i doin something wrong.. it doesnt seem to work
evil_noob The mystery number is between 12858 and 12858
<Mofo_Bot> !num 12858
* evil_noob The mystery number is between 12858 and 12858
<Mofo_Bot> !num <12858>
* evil_noob The mystery number is between 12858 and 12858
jonypaul
Comments: 19
 
mIRC Snippet:  Number Guess Game
Posted on May 26, 2006 11:49 am
i've got the same prob...but another...i just cant stop the game...what is exactally the comand? cause if i dont stop it i can't configure it

Please Register or Login to start posting comments.
Bottom