Random Active User via variables

This command no longer works. !commands add !slap $(user) has slapped $(urlfetch https://2g.be/twitch/randomviewer.php?channel=$(channel)).
Always says invalid user and I put the channel name in all lower case. Is there another way to pick a random name from chat? Thank you for your time.

You don’t need to type in your channel. Just enter the command exactly as-is. Nightbot will automatically replace $(channel) with your channel.

!commands add !slap $(user) has slapped $(urlfetch https://2g.be/twitch/randomviewer.php?channel=$(channel))
1 Like

where to i add this command mate ?

Just type this directly into your chat:

!commands add !slap $(user) has slapped $(urlfetch https://2g.be/twitch/randomviewer.php?channel=$(channel))

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