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