NightDev Community Forums

Can a specific number in the random number display a specific message?

$(twitch $(urlfetch https://2g.be/twitch/randomviewer.php?channel=$(channel)) “{{displayName}}”) ,couple: $(eval Math.floor((Math.random() * 100) + 1)) %

couple: $(eval Math.floor((Math.random() * 100) + 1)) %

Can a specific number in the random number display a specific message?

$(twitch $(urlfetch https://2g.be/twitch/randomviewer.php?channel=$(channel)) “{{displayName}}”)

And can skip some viewers being captured in the twitch chat room?

thanks :pray:

Yes you can display a different message based on what the random number is equal to all you need to do is have a variable equal to the random number and then check what that variable is equal to let’s call the variable random.

Ex.random>=50?“50”

If the number randomly picked is 50 or less the message “50” will be displayed.

As for skipping over certain viewers I would look Here