This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Random Number

Old posts that have not been replied to for several years.
Locked
a
ahv

Post by ahv »

Hi

Does anybody know how to make a script that posts a random number?

for example i want people to ask the bot a random number between 1 and 10. they would type: "bot rand" and the bot gives them a number between 1 and 10
E
Elendur

Post by Elendur »

Look at tcl-commands.doc, there is a function "rand"
Locked