I'm trying to set up a random number generator command that includes negatives and probabilities. I do not have a ton of experience with Nightbot, but I'm trying to learn, so I would greatly appreciate an explanation of the answer if possible - but I understand if that is too much effort. If there is a wiki or other documentation that I could be pointed to, I will gladly take that assistance as well.
What I'm trying to do - random number generator with the following probabilities for the ranges below:
20% chance of -30 to 0
30% chance of 0 to 40
40% chance of 40 to 80
10% chance of 80 to 100