Discord Bot Maker

Discord Bot Maker

View Stats:
substring Nov 2, 2019 @ 3:32pm
How to put multiple values in "Check Variable"
Hello! I'm trying to do a coin flip (doing simple commands, i know). I generate a random number (1 to 20) and save it in a variable. Then, i check the variable. I want to say "If value equals 1 or 2, or 3, or 4, or 5, or 6, or 7, or 8, or 9" then Jump to Action...

How do i say multiple values to compare in the text box?
< >
Showing 1-2 of 2 comments
johnpaulbin Nov 19, 2019 @ 4:26pm 
I'm not sure, but since this uses .JS, it should be just:
"1|2|3|4|5" etc.
substring Nov 20, 2019 @ 9:05am 
I think i tried that, but i'll try again.
Last edited by substring; Nov 20, 2019 @ 9:05am
< >
Showing 1-2 of 2 comments
Per page: 1530 50

Date Posted: Nov 2, 2019 @ 3:32pm
Posts: 2