Synopsis:
   timer [-refnum <num|name>]|[-delete all|<num>] <seconds> [<action>]
 
Description:
   This command allows the client to store arbitrary commands scheduled
   for execution at some specified number of seconds in the future.  Any
   number of timers may be set, and any number of commands may be used
   in a timer.  Timers with multiple commands must have those commands
   surrounded by curly braces.

   All timers are assigned a reference number to distinguish them from
   each other.  A specific reference number may be specified, though the
   number may not be one that is already in use, and it must be either a
   non-negative integer or a string of no more than 10 characters (longer
   strings will be silently truncated).  The reference number or name is
   also used to delete a timer.  Using the TIMER command with no
   arguments will display the list of pending timers.

Options:
   -delete <num>|all    delete the numbered timer, or all timers
   -refnum <num|name>   set a timer with the given reference number or name

Examples:
   To create a reminder that X Files will be on in 10 minutes:
      timer 600 {
         beep
         echo *** X Files is on!
         echo *** Why are you still on irc?!
      }

   To assign a specific refnum to that timer:
      timer -r 103 600 { ... }
      timer -r foo 600 { ... }

   This timer's reference name will be truncated to "foobarbooy":
      timer -r foobarbooya 45 { ... }

   To delete all pending timers:
      timer -d all