HighLow
From RacHelp
Contents |
[edit] Author
Original script by Marky, ported to Racbot by Xihuitl.
[edit] Description
A high/low number guessing game. The bot will pick a random number between one and a given number, and the users have to try and guess it. For each guess, the bot will tell the user if their guess is high or low.
[edit] Usage
To start the game with a random number between 1 and NUMBER: !hl on NUMBER
To stop the game: !hl off
To activate the game: !hl activate
To deactivate the game: !hl deactivate
To make a guess: !guess NUMBER
[edit] Installation
- Extract hilo.tcl to your Racbot scripts directory.
- Add the following code to the bottom of your Racbot configuration file:
source scripts/hilo.tcl
- Open the script in a text editor and follow the instructions from step 3 onwards at the top of the file.
