From WikiChip
mirc/identifiers/$ctimer
< mirc‎ | identifiers
Revision as of 23:11, 3 July 2014 by PatrolBot (talk | contribs) (Bot: Adding a template (template:mIRC identifier list))

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 original timer capitalizations are not preserved. This is by design.

Compatibility

Added: mIRC v5.82

Added On: 14/12/2000

See Also

[Expand]
v · d · e mIRC identifier list