How to set timer msg in BitchX

From SHellium Wiki
Jump to: navigation, search
Geographylogo.png In other languages: English | Afrikaans | Albanian | Arabic | Brazilian | Bulgarian | Catalan | Chinese | Croatian | Czech | Danish | Dutch | Esperanto | Estonian | Filipino | Finnish | Flemish | French | German | Greek | Hebrew | Hindi | Hungarian | Indonesian | Italian | Japanese | Latvian | Lithuanian | Macedonian | Malay | Malayalam | Norwegian (Bokmål) | Norwegian (Nynorsk) | Persian | Polish | Portuguese | Romanian | Russian | Serbian | Slovak | Slovenian | Spanish | Swedish | Turkish | Ukrainian | Urdu

Contents

How to set timer in BitchX

Usage Summary

   /timer [-del <RefNum>] [-rep <Repetition>] [-ref <NewRefNum> <Delay> <Command>]

where

   RefNum        Reference number of an existing timer.
   Repetition    Number of times to execute timer, default is 1 and -1 means no limit.
   NewRefNum     Reference number for a new timer.
   Delay         Number of seconds before the command is run.
   Command       The command to run.

Creating a new timer

In order to create a new timer, you will need to supply a new reference number to the command. For example:

   /timer -ref 1 10 /msg nick hi

will run the command /msg nick hi once after 10 seconds.

To make a timer loop indefinitely, use -rep -1, for example:

   /timer -rep -1 -ref 1 10 /echo Hello World

will run the command /echo Hello World every 10 seconds indefinitely.

Listing active timers

Using /timer by itself will give you a nice listing of currently active timers by the corresponding RefNum in the first column. For example:

   *** Timer      Seconds    Events  Command
   *** 1          9.92       -1      echo hello world

The second column shows the number of seconds before the next execution is performed for the timer.

Deleting a timer

To delete an active timer, type, /timer -del <RefNum>. For example:

   /timer -del 1
Personal tools
Namespaces

Variants
Actions
Navigation
Indexes
SHellium Sites
Toolbox