Guys how to make a command to get a random number from 6 to 36

Guys how to make a command to get a random number from 6 to 36

There are so many topics that ask how to generate random numbers and very many ways to do this please search before posting on the forums. There is even an example in the nightbot help docs under the eval section Eval - Nightbot Docs

Here is the formula for literally any random number generator that you could have easily found had you looked for it.

$(eval Math.floor(Math.random()*(Max-Min))+Min))

If Max and Min isn’t clear enough for you in your case Max would be 36 and Min would be 6.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.