From WikiChip
$line Identifier - mIRC
< mirc‎ | identifiers
Revision as of 21:07, 17 October 2017 by 83.204.221.221 (talk) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

$line returns the Nth line in a window


Synopsis

$line(win,N,T)

Parameters

  • 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

  • .state - returns selection state for a line in a listbox.
  • .color - returns the color of the line, if any.


Example

//echo -a $line($chan(1),1)

Compatibility

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


See Also

$sline $fline $window