I’m trying to make a command that generates a random percentage, and depending on the percentage, a different message gets attached. I’ve looked everywhere for how to do this but the best I found split the percentages into 3 instead of 6.
Percentages I’d like to get a different message for (while still showing the percentage):
0
1-24
25-49
50-74
75-99
100
The character limit also ends up limiting my command, so I’m guessing I have to use a pastebin for this at some point? I’ve tried a lot and I’m really struggling pretty badly so any help would be greatly appreciated!
See https://pastebin.com/raw/GftYNvBh for how to write the messages. Make your own Pastebin paste with your messages and replace the paste ID in the command above with yours.