From WikiChip
$ltimer Identifier - mIRC
< mirc‎ | identifiers
Revision as of 13:06, 4 October 2019 by Maroonbells (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

Synopsis

$ltimer

Parameters

None

Properties

None

Example

//.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

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