Just a quick super simple suggestion, I’d like to be able to have timers that are only active if you are playing a certain game. Should be super simple to implement too.
Replace SPECIFIC_GAMES, make sure their syntax is the same as Twitch’s, you can add as many games as you want as long as you don’t exceed 500 characters for the command, just respect the syntax of the code I wrote.
Replace MESSAGE_IF_SPECIFIC_GAME too with your message.
I believe this would cause nightbot to send empty messages to chat if you are not on the correct game, right? Or does nightbot attempting to send a single space (" ") in chat get automatically suppressed?
$(eval g=`$(twitch $(channel) "{{game}}")`;g.includes(`Jackbox`)?`Want to play Jackbox with us? Subscribe and head over to our discord to get the room code! Then visit https://jackbox.tv/ on your web browser of choice to join!`:` `)
And I’m getting an error I can’t quite make sense of:
[variable not permitted in timers]
That test was run when the game was set to Just Chatting. Any ideas? Thanks in advance.
Edit:
Further testing seems to indicate $(eval) isn’t allowed in timers now… This gives the same error message: