Countup command with pause

I want to get countup command with pause. One records study time, and the other records break time. So you need 2 timers per person. As an example of usage, entering the !study command saves the entered time. If !rest is entered, the uptime count from the time entered in the study command is paused and the time when rest is entered is recorded. If you enter !study again, the upcount for the time entered in !rest is stopped and the upcount for the study variable is restarted. As a result, when the !sum command is entered, I would like the upcount time recorded as !study to be subtracted from the upcount time recorded as !rest and output. Simply put, I want to create a timer that prints out the amount of time I’ve been focusing on studying. Now I have !start and !rest timers using API, but !start is just for assigning a time variable and !rest simply displays the past time from start. Any advice I can get?

Hey @_Dali!

What you’re looking for is possible if you make your own API, but we don’t help with that.

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