create a variable for a vote with a personal list

Asked Mar 31, 2020·1 reply·Last activity 6 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.

A variable could be made so that the nightbot randomly selects a name from a particular list by means of AJAX script or other means. Without further consultation I would like to thank for the information provided to the community. Greetings!

1 reply

Hiya, what exactly are you looking for, which particular lists are you talking about. There is the urlfetch variable where you can run external scripts, which can do this functionality for you.

For example, this one picks a random viewer from your viewerlist: $(urlfetch https://2g.be/twitch/randomviewer.php?channel=$(channel))