From WikiChip
$timer Identifier - mIRC
< mirc‎ | identifiers
Revision as of 19:00, 26 September 2017 by 83.204.158.116 (talk) (Created page with "{{mirc title|$timer Identifier}}'''$timer''' returns informations about the specified timer. == Synopsis == <pre>$timer(name/N)</pre> == Paramters == * '''N''' - The Nth t...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

$timer returns informations about the specified timer.


Synopsis

$timer(name/N)

Paramters

  • N - The Nth timer, if N = 0 returns the total number of timer
  • name - the name of a timer

Properties

  • .com - returns the associated command of the timer
  • .time - return the time parameter if used
  • .reps - returns the number of repetition left
  • .delay - returns the delay parameter
  • .type - returns the online/offline status
  • .secs - returns the number of second left before the timer is triggered
  • .mmt - returns $true if the timer is a multimedia timer (timer -h), $false otherwise
  • .anysc - returns $true if the /timer -i switch was specified
  • .wid - returns the window ID value associated with the timer
  • .cid - returns the connection ID value associated with the timer
  • .hwnd - returns the handle of the window associated with the timer
  • .pause - returns $true if /timer -p has been used, $false otherwise


Example

//echo -a $timer(0)

Compatibility

Added: mIRC v4.72
Added on: 09 Jan 1997
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.


See Also

/timer