I’ve been trying to figure out how to get the !countdown command to actually work. I’ve tried a ton of stuff, but it never does anything except added to database make sure to use @countdown@ in command. I’ve searched everywhere I could think of, and haven’t found anything other than what the nightbot and wiki page has.
The problem is the explanation on the wiki and page don’t explain how to use the @countdown@ thing it says to use. My results with this feature have varied from getting things added to a database that I can’t seem to find, and getting errors saying there is no date associated with the command. I guess I’d just like an in depth explanation and few examples of how to actually use this, as I think it would be very useful on my channel.
The command is pretty simple. Here is an example.
!addcom !countdown $(countdown 04/22/2015 5:06 PM EST)
You have to make sure you follow the format.
Month/Day/Year Hour:Minute AM/PM Timezone
Hope this better explains it!
Thank you. the code in the nightbot commands page says:
!countdown !command date Allows you set a date/time for a countdown via the “@countdown@” parameter in commands
Night: !countdown !newyear Jan 1 2013 12:00:00 EST
Nightbot: night -> The countdown to “Jan 1 2013 12:00:00 EST” has been added to the database.
It doesn’t say anything about using the Variable or function code. It was confusing me quite a bit. lol
What page says this?
Our Nightbot variable page is here - https://wiki.nightbot.tv/chat:variables
$(countdown date time am/pm timezone) Number of days, hours, and minutes until a specific time
Night: !addcom !countdown $(countdown 11/18/2013 12:06 AM EST)
Nightbot: 23 Hours, 30 Minutes, 15 Seconds
Yea i think that needs to be updated.
Use https://wiki.nightbot.tv/chat:variables for variables if you can.
This topic was automatically closed after 14 days. New replies are no longer allowed.