Random Viewer Variable

Hey guys, ive tried to Make a command that grabs a random active viewer in a chat to work but ive had no luck.

I’ve tried the one that the forums say but it comes up with “invalid channel”…

the name of the channel is spelt right with no caps.

any suggestions???


Copy and paste this command into your Twitch chat:

!commands add !random The random user is: $(urlfetch http://2g.be/twitch/randomviewer.php?channel=$(channel))

Is that a basic for nightbot or is it an API?

Its a 3rd party API.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.