Docs > Extensions > Plugins > Countdown

Here's a countdown timer you can use for various kinds of things. Take a quick look below to see how it works:

Note, in the above example, I've set it to 10 seconds in the future so you can see what happens when the timer expires. But I could have set it to any arbitrary time desired, days in advance.

<(embed countdown when={(time fmt=timestamp when='+ 10 seconds')} now={now})>

Much of the content displayed in this script is hard-coded such as the text message and the buttons. My recommendation is that you create a copy of this script for each event and then customize it until you get it working how you want. Then embed that timer rather than the core one.

The default script can be found at code.embed.countdown.