Difference between revisions of "TimerUi.php"
(Created page with "====== Timer ====== ==== Description ==== Setting and removing of timers.. !timer - Lists all current timer for the bot and offers support to delete them. !timer [class] #...") |
|||
Line 10: | Line 10: | ||
!timer [class] #[:[:end## - Adds a timer using the format days:hours:minutes:seconds, with the lowest time unit always being seconds (so 1:20 means 1min 20secs, 1:03:05 means 1hour 3mins 5secs). On every : there have to follow exactly two numbers. You don't have to enter all numbers. [class] is an optional parameter defining which timer class to use. | !timer [class] #[:[:end## - Adds a timer using the format days:hours:minutes:seconds, with the lowest time unit always being seconds (so 1:20 means 1min 20secs, 1:03:05 means 1hour 3mins 5secs). On every : there have to follow exactly two numbers. You don't have to enter all numbers. [class] is an optional parameter defining which timer class to use. | ||
+ | |||
+ | !rtimer [class] <dur>[mshd] <repeat>[mshd] title - Adds a repeating timer for <dur> minutes (m), seconds (s), hours (h) or days (d). If no time unit is added it's <dur> seconds. <rep> is the time between repetitions of the timer, the same rules as for <dur> apply. [class] is an optional parameter defining which timer class to use. | ||
+ | |||
+ | !rtimer [class] <dur>[:[:[:]]] title - Adds a timer using the format days:hours:minutes:seconds, with the lowest time unit always being seconds (so 1:20 means 1min 20secs, 1:03:05 means 1hour 3mins 5secs). On every : there have to follow exactly two numbers. You don't have to enter all numbers. <rep> is the time between repetitions of the timer, the same rules as for <dur> apply. [class] is an optional parameter defining which timer class to use. | ||
+ | |||
+ | !ptimer - Lists and creates timers in the org chat, disregarding the originating channel. Syntax otherwise exactly as the syntax of the timer command, read there for more information. | ||
+ | |||
+ | !tset - Lists all existing timer class settings and allows to change them. |
Revision as of 09:57, 30 July 2021
Timer
Description
Setting and removing of timers..
!timer - Lists all current timer for the bot and offers support to delete them.
!timer [class] #[mshd] title - Adds a timer for # minutes (m), seconds (s), hours (h) or days (d). If no time unit is added it's # seconds. [class] is an optional parameter defining which timer class to use.
!timer [class] #[:[:end## - Adds a timer using the format days:hours:minutes:seconds, with the lowest time unit always being seconds (so 1:20 means 1min 20secs, 1:03:05 means 1hour 3mins 5secs). On every : there have to follow exactly two numbers. You don't have to enter all numbers. [class] is an optional parameter defining which timer class to use.
!rtimer [class] <dur>[mshd] <repeat>[mshd] title - Adds a repeating timer for <dur> minutes (m), seconds (s), hours (h) or days (d). If no time unit is added it's <dur> seconds. <rep> is the time between repetitions of the timer, the same rules as for <dur> apply. [class] is an optional parameter defining which timer class to use.
!rtimer [class] <dur>[:[:[:]]] title - Adds a timer using the format days:hours:minutes:seconds, with the lowest time unit always being seconds (so 1:20 means 1min 20secs, 1:03:05 means 1hour 3mins 5secs). On every : there have to follow exactly two numbers. You don't have to enter all numbers. <rep> is the time between repetitions of the timer, the same rules as for <dur> apply. [class] is an optional parameter defining which timer class to use.
!ptimer - Lists and creates timers in the org chat, disregarding the originating channel. Syntax otherwise exactly as the syntax of the timer command, read there for more information.
!tset - Lists all existing timer class settings and allows to change them.