> For the complete documentation index, see [llms.txt](https://mediocraty-itself.gitbook.io/rusttools/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mediocraty-itself.gitbook.io/rusttools/in-game-commands/timer-commands.md).

# Timer commands

## - Creating simple timer

* `.timer <time>` (alias "`.t`") - creates a basic timer which will notify you inchat when over.\
  Time could be written with `s - seconds` `m - minutes`` ``h - hours` , Example `3h20m`  / `1h24m25s`  / `2m30s` / `2m` . Max timer duration - `24 hours`.

<figure><img src="https://2714295573-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FH2xPiUNoVsVJGOZJTB7R%2Fuploads%2FfhmUYHmC8Y7iH9QyLJJm%2Fimage.png?alt=media&amp;token=69c2f5c8-a162-467b-9d1e-b5408b9a0164" alt=""><figcaption></figcaption></figure>

## - Making a timer for switch or group

* `.timer <switch_name_or_group_name> <time> (on/off)` (alias "`.t`") - toggles switches for period of time then toggles back.

<figure><img src="https://2714295573-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FH2xPiUNoVsVJGOZJTB7R%2Fuploads%2FWFpxGtO9EYWIdUV804uy%2Fimage.png?alt=media&amp;token=f2172261-ea2b-440f-afb7-4efa07e99cd8" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2714295573-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FH2xPiUNoVsVJGOZJTB7R%2Fuploads%2FVmiJhzTwFFtfk8ld7RdH%2Fimage.png?alt=media&amp;token=923b2b68-f42d-4610-80a9-fc55e086ce41" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2714295573-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FH2xPiUNoVsVJGOZJTB7R%2Fuploads%2FCyCw5q9ulmWz93laEjng%2Fimage.png?alt=media&amp;token=d2700fd4-56ec-465f-a0d5-28f43ed3fd68" alt=""><figcaption></figcaption></figure>

## - Listing all timers and their time

* `.timers` (alias "`.ts`") -  returns list of  all timers with time remaining.

<figure><img src="https://2714295573-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FH2xPiUNoVsVJGOZJTB7R%2Fuploads%2FWHKosaqXkRQmmbNOiVde%2Fimage.png?alt=media&amp;token=0aa4072a-5a61-4cd6-bde8-9f810ac04099" alt=""><figcaption></figcaption></figure>

## - Pausing timer

* `.timer pause <timer_name>` (alias "`.t`")  - stops timer untill you resume it.

<figure><img src="https://2714295573-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FH2xPiUNoVsVJGOZJTB7R%2Fuploads%2FwF1J8925gPHkYqA6RL4z%2Fimage.png?alt=media&amp;token=2de4df2a-03ca-428e-9375-3fdea0a287d7" alt=""><figcaption></figcaption></figure>

## - Continue timer

* `.timer resume <timer_name>` (alias "`.t`") - continues paused timer.

<figure><img src="https://2714295573-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FH2xPiUNoVsVJGOZJTB7R%2Fuploads%2FsmcvT5GJV9Piy5x81VP9%2Fimage.png?alt=media&amp;token=0e1b24e2-de4c-4603-a38f-df8383d24e11" alt=""><figcaption></figcaption></figure>

## - Deleting 1 timer

* `.timer clear <timer_name>` (alias "`.t`") - removes timer from existing list&#x20;

<figure><img src="https://2714295573-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FH2xPiUNoVsVJGOZJTB7R%2Fuploads%2Fx0o9iBYdqPA4aI4xb5Ow%2Fimage.png?alt=media&amp;token=a1c9af7e-ff65-490f-88fe-9c1e56fcb894" alt=""><figcaption></figcaption></figure>

## - Deleting all timers

* `.timer clearall` (alias "`.t`") - deletes all existing timers

<figure><img src="https://2714295573-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FH2xPiUNoVsVJGOZJTB7R%2Fuploads%2FL2o0Bynpck22Lzje37t1%2Fimage.png?alt=media&amp;token=d009619b-d37f-4160-a7b8-1a5e5ebefb97" alt=""><figcaption></figcaption></figure>
