From WikiChip
Difference between revisions of "mirc/identifiers/$line"
(Created page with "{{mirc title|$line Identifier}}'''$line''' returns the Nth line in a window == Synopsis == <pre>$line(win,N,T)</pre> == Parameters == * '''win''' - a channel/query/status o...") |
m (→Synopsis: Add .property) |
||
(One intermediate revision by the same user not shown) | |||
Line 3: | Line 3: | ||
== Synopsis == | == Synopsis == | ||
− | <pre>$line(win,N,T)</pre> | + | <pre>$line(win,N,T)[.property]</pre> |
== Parameters == | == Parameters == | ||
Line 19: | Line 19: | ||
== Compatibility == | == Compatibility == | ||
− | {{mIRC compatibility|5. | + | {{mIRC compatibility|5.0}} |
== See Also == | == See Also == | ||
− | {{mIRC|$sline}} | + | * {{mIRC|$sline}} |
− | {{mIRC|$fline}} | + | * {{mIRC|$fline}} |
− | {{mIRC|$window}} | + | * {{mIRC|$window}} |
[[Category:mIRC identifiers]] | [[Category:mIRC identifiers]] |
Latest revision as of 14:29, 15 February 2024
Commands & Identifiers
Basics
Events
Matching Tools
Data Storage
Control Structures
GUI Scripting
Sockets
Advanced Scripting
Additional Resources
Security
Other
$line returns the Nth line in a window
Synopsis[edit]
$line(win,N,T)[.property]
Parameters[edit]
- win - a channel/query/status or custom window
- N - The Nth line, returns the total number of lines if N = 0
- T - If T = 1, it references the listbox (nicklist in channel window), T = 0 references the display area
Properties[edit]
- .state - returns selection state for a line in a listbox.
- .color - returns the color of the line, if any.
Example[edit]
//echo -a $line($chan(1),1)
Compatibility[edit]
Added: mIRC v5.0
Added on: 02 Apr 1997
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.