From WikiChip
$ctimer Identifier - mIRC
< mirc‎ | identifiers
Revision as of 18:15, 3 October 2015 by 83.204.152.177 (talk) (Example)

The $ctimer identifier returns the name of the /timer, if any, that triggered a certain script.

Synopsis

$ctimer

Parameters

None

Example

Create an alias that fires off a timer to perform a command, and have the command echo the name of the timer that executed it:

; Use /testCtimer
alias testCtimer { .timermyTimer 1 1 testCtimerGO }
alias -l testCtimerGO { echo -a The timer name was: $ctimer }

Result

The timer name was: mytimer

Note: The value is always lowercase.

Compatibility

Added: mIRC v5.82
Added on: 14 Dec 2000
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.


See Also

[Expand]
v · d · e mIRC identifier list