Guest User

Untitled

a guest
Jan 13th, 2018
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.04 KB | None | 0 0
  1. /timer[N/name] [-cdeomhipr] [time] <repetitions> <interval> <command>
  2.  
  3. Activates the specified timer to perform the specified command at a specified interval, and optionally at a specified time.
  4.  
  5.  
  6.  
  7. If you are not connected to a server and you start a timer, it defaults to being an offline timer which means it will continue to run whether you are connected to a server or not.
  8.  
  9.  
  10.  
  11. If you are connected to a server and you start a timer, it defaults to being an online timer, which means that if you disconnect from the server, it will be turned off. You can specify the -o switch to force it to be an offline timer.
  12.  
  13.  
  14.  
  15. /timer1 0 20 /ame is AWAY!
  16.  
  17.  
  18.  
  19. Timer1 will repeat an all channel action every 20 seconds until you stop the timer.
  20.  
  21.  
  22.  
  23. If you specify a delay of 0 seconds, the timer will trigger immediately after the calling script ends.
  24.  
  25.  
  26.  
  27. /timer5 10 60 /msg #games For more info on the latest games do /msg GaMeBoT info
  28.  
  29.  
  30.  
  31. Timer5 will repeat this message to channel #games every sixty seconds and stop after 10 times.
  32.  
  33.  
  34.  
  35. /timer9 14:30 1 1 /say It is now 2:30pm
  36.  
  37.  
  38.  
  39. This will wait until 2:30pm and will then announce the time once and stop.
  40.  
  41.  
  42.  
  43. To see a list of active timers type /timers. To see the setting for timer1 type /timer1. To deactivate timer1 type /timer1 off. To deactivate all timers type /timers off. If you are activating a new timer you do not need to specify the timer number, just use:
  44.  
  45.  
  46.  
  47. /timer 10 20 /ame I am not here!
  48.  
  49.  
  50.  
  51. And mIRC will allocate the first free timer it finds to this command.
  52.  
  53.  
  54.  
  55. If you specify the -c switch, this makes mIRC "catch up" a timer by executing it more than once during one interval if the real-time interval is not matching your requested interval.
  56.  
  57.  
  58.  
  59. If you specify the -m or -h switch, this indicates that the interval delay is in milliseconds.
  60.  
  61.  
  62.  
  63. Note: The -h switch creates a high-resolution multimedia timer. This type of timer should only be used in critical timer situations since it uses system resources heavily.
  64.  
  65.  
  66.  
  67. The -d switch ensures that a timer and any subsequent timers using the -d switch are triggered in that order.
  68.  
  69.  
  70.  
  71. If you specify the -e switch, this executes the command associated with the specified timer name, also works if you specify a wildcard name.
  72.  
  73.  
  74.  
  75. The $ltimer identifier returns the number of the timer that was just started by the /timer command.
  76.  
  77.  
  78.  
  79. Instead of using a number you can also specify a name for a timer.
  80.  
  81.  
  82.  
  83. /timershow 0 10 echo -a $nick $server $time
  84.  
  85.  
  86.  
  87. You can force identifiers to be re-evaluated when used in a /timer command by using the format $!me or $!time.
  88.  
  89.  
  90.  
  91. If you wish to turn off a range of timers, you can use a wildcard for the number, for example:
  92.  
  93.  
  94.  
  95. /timer3? off
  96.  
  97.  
  98.  
  99. Will turn off all timers from 30 to 39.
  100.  
  101.  
  102.  
  103. The -pr switches pause and resume a timer respectively.
  104.  
  105.  
  106.  
  107. The -i switch makes a timer dynamically associate with whatever happens to be the active connection. If a server window is closed, the timer is associated with the next available server window.
Add Comment
Please, Sign In to add comment