From WikiChip
$ltimer Identifier - mIRC
< mirc‎ | identifiers

$ltimer returns the name (timer ID) of last timer created.

Synopsis[edit]

$ltimer

Parameters[edit]

None

Properties[edit]

None

Example[edit]

//.timerNAME 1 1 echo -a $!ltimer
//timerfoobar $+ $rand(1,99) 1 5 noop | echo -a $ltimer
//timerfoo 1 3 echo -a current timer is $!ctimer last timer created is $!ltimer | timer $+ $rand(11111,99999) 1 2 echo -a current timer is $!ctimer last timer created is $!ltimer
The 'name' can be numeric, in which case the string returned is the numeric name, and not the 'N' used in $timer(N) used to return the name of the Nth timer.
//timer $+ $rand(11111,99999) 1 1 noop | echo -a $ltimer

Compatibility[edit]

Added: mIRC v5.1
Added on: 28 Aug 1997
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.

See also[edit]