From WikiChip
Difference between revisions of "mirc/identifiers/$scriptline"
(Created page with "{{mirc title|$scriptline Identifier}}'''$scriptline''' return the number of the line in the current script. == Synopsis == <pre>$scriptline</pre> == Paramters == None == P...") |
|||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | {{mirc title|$scriptline | + | {{mirc title|$scriptline identifier}}'''$scriptline''' returns the number of the line in the current script. |
+ | |||
== Synopsis == | == Synopsis == | ||
<pre>$scriptline</pre> | <pre>$scriptline</pre> | ||
− | == | + | == Parameters == |
− | |||
None | None | ||
== Properties == | == Properties == | ||
− | |||
None | None | ||
Line 16: | Line 15: | ||
<source lang="mIRC"> | <source lang="mIRC"> | ||
alias test { | alias test { | ||
− | echo -a $scriptline | + | echo -a $scriptline |
}</source> would show '2' | }</source> would show '2' | ||
Line 22: | Line 21: | ||
{{mIRC compatibility|5.8}} | {{mIRC compatibility|5.8}} | ||
− | == See | + | == See also == |
{{mIRC|$scriptdir}} | {{mIRC|$scriptdir}} | ||
− | [[Category: | + | [[Category:mIRC identifiers|scriptline]] |
Latest revision as of 13:13, 22 September 2017
Commands & Identifiers
Basics
Events
Matching Tools
Data Storage
Control Structures
GUI Scripting
Sockets
Advanced Scripting
Additional Resources
Security
Other
$scriptline returns the number of the line in the current script.
Synopsis[edit]
$scriptline
Parameters[edit]
None
Properties[edit]
None
Example[edit]
Put this code in a new remote file:
alias test { echo -a $scriptline }would show '2'
Compatibility[edit]
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.