I need help with making a particular command

im trying to make a command that random picks a name from the viewer list and says hi to them … is this possible ?


!addcom -cd=5 !hello Hello $(urlfetch https://2g.be/twitch/randomviewer.php?channel=$(channel))!

thank you so much . can i make this a timer aswell and if so are there any changes that need to be made ?

To make this into a timer:

1: Create the !hello command through chat as shown in my previous post.
2: Go to your timers page at https://beta.nightbot.tv/timers
3: Click “+Add”
4: Give the timer any name you like.
5: Leave the Message field blank.
6: Set the time interval to whatever you want (the timer will trigger the command every N minutes).
7: Set the chat lines requirement appropriately (how many lines of chat must pass before the timer triggers, set this to 2 lines if you are unsure of this).
8: Type !hello in the Alias field.
9: Click “Submit”

thank you so much . you are a rockstar :grinning:

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