From WikiChip
$scriptline identifier - mIRC
< mirc‎ | identifiers
Revision as of 13:13, 22 September 2017 by Sophist (talk | contribs)

$scriptline returns the number of the line in the current script.

Synopsis

$scriptline

Parameters

None

Properties

None

Example

Put this code in a new remote file:

alias test {
  echo -a $scriptline
}
would show '2'

Compatibility

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


See also

$scriptdir