-
WikiChip
WikiChip
-
Architectures
Popular x86
-
Intel
- Client
- Server
- Big Cores
- Small Cores
-
AMD
Popular ARM
-
ARM
- Server
- Big
- Little
-
Cavium
-
Samsung
-
-
Chips
Popular Families
-
Ampere
-
Apple
-
Cavium
-
HiSilicon
-
MediaTek
-
NXP
-
Qualcomm
-
Renesas
-
Samsung
-
From WikiChip
Difference between revisions of "mirc/identifiers/$ctimer"
< mirc | identifiers
m (Bot: Adding a template (template:mIRC identifier list)) |
m (Bot: Fixing links) |
||
Line 1: | Line 1: | ||
− | The '''$ctimer''' identifier returns the name of the | + | The '''$ctimer''' identifier returns the name of the {{mIRC|/timer}}, if any, that triggered a certain script. |
== Synopsis == | == Synopsis == | ||
Line 25: | Line 25: | ||
== See Also == | == See Also == | ||
* [[$timer identifier - mIRC|$timer]] | * [[$timer identifier - mIRC|$timer]] | ||
− | * | + | * {{mIRC|/timer}} |
{{mIRC identifier list}} | {{mIRC identifier list}} | ||
[[Category:MIRC identifiers]] | [[Category:MIRC identifiers]] |
Revision as of 20:05, 5 July 2014
The $ctimer identifier returns the name of the /timer, if any, that triggered a certain script.
Contents
[hide]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]