Nightbot response based on RNG

Asked Jul 16, 2022·4 replies·Last activity 4 years ago·Open in Discord ↗
Archived from the original community forum
Things may have changed since it was written. Still stuck? Ask the community on Discord.

Someone I mod for has a command that returns an RNG % out of 100, and would like the second half of the message nightbot returns to be as a result of what number the RNG provides.

I don't really understand code too much, is it possible to do this in nightbot?

4 replies

I did try searching but I didn't use the right terms to find this thread, thank you.

Fair enough, would you mind telling me which terms you used? I might update the topic so it's easier to find by other people.

I personally used "different output" and stumbled upon an older topic I answered to with a link to the topic I shared with you.

I tried a few searches, RNG conditional response, get response from rng value, react to RNG figure and react to RNG results were some of the ones I tried I probably should have thought of "percentage" as a key term, having seen the thread you shared.