Hi!
Are there any option to config a "timer" witch show a message everyday at 12:00pm?
I am trying to get it but in timer section I can only config a timer every 60 min.
Thank you!!
Okay, so what you want to do is have your timer set up to 60 minutes, then $(eval) contains Javascript that checks the value of $(time), and if it's the awaited value it executes code:
$(eval parseInt($(time TIMEZONE "H")) === 12 ? `It's noon!` : ` `)
All you have to do now is replace the TIMEZONE field by yours, replace the message if needed, and it should be working!
I don't know about YouTube, I'm pretty sure it works the same, but on Twitch an empty message won't send, so this shouldn't be an issue. If you remove the space you'll get an error though.
If you see that it sends empty messages — I'd be very surprised — you can always replace the code by:
$(eval if (parseInt($(time TIMEZONE "H")) === 12) { `It's noon!` })
it's basically the same thing.
Didn't find your answer? The community is on Discord.
Ask on Discord