From WikiChip
Difference between revisions of "mirc/commands/cline"
< mirc‎ | commands

(Created page with "The '''/cline command''' changes the color of the Nth line/item in a custom window or channel. == Synopsis == /cline -hrml [c] <@name/#channel> <N> == Switches == * '''-h''...")
 
(Switches)
 
(14 intermediate revisions by 4 users not shown)
Line 1: Line 1:
The '''/cline command''' changes the color of the Nth line/item in a custom window or channel.
+
{{mirc title|/cline Command}}
 +
The '''/cline command''' changes the color of the Nth line/item in a custom window or channel's nicklist.
  
 
== Synopsis ==
 
== Synopsis ==
  /cline -hrml [c] <@name/#channel> <N>
+
  /cline -hrmltc[N] [c] <@name/#channel> <N>
  
 
== Switches ==
 
== Switches ==
 
* '''-h''' - Highlights the window's button (if window is minimized)
 
* '''-h''' - Highlights the window's button (if window is minimized)
 
* '''-r''' - Reset an item in the listbox to default; [c] parm must be omitted
 
* '''-r''' - Reset an item in the listbox to default; [c] parm must be omitted
* '''-m''' - When coloring a nick in the nick list, also color the nick in channel messages
+
* '''-m''' - When coloring a nick in the nicklist, also color the nick in channel messages
* '''-l''' - Apply to side listbox  
+
* '''-l''' - Apply to side listbox
 +
* '''-t''' - forces a re-wrap of all lines in a window that have not yet been wrapped to the current window size.
 +
*'''-c[N]''' - Same as using the [c] parameter to change the color, but via a switch
  
 
== Parameters ==
 
== Parameters ==
Line 20: Line 23:
  
 
== Compatibility ==
 
== Compatibility ==
Added: mIRC v5.1
+
{{mIRC compatibility|5.1}}
 
 
Added On: 28/08/1997
 
 
 
<small>Note: Individual switches were not taken into consideration.</small>
 
  
 
== See also ==
 
== See also ==
 
* [[List of commands - mIRC|List of commands]]
 
* [[List of commands - mIRC|List of commands]]
 
* [[List of identifiers - mIRC|List of identifiers]]
 
* [[List of identifiers - mIRC|List of identifiers]]
* [[$window identifier - mIRC|$window]]
+
* {{mIRC|$window}}
* [[$line identifier - mIRC|$line]]
+
* {{mIRC|$line}}
* [[$fline identifier - mIRC|$fline]]
+
* {{mIRC|$fline}}
* [[$sline identifier - mIRC|$sline]]
+
* {{mIRC|$sline}}
* [[/aline command - mIRC|/aline]]
+
* {{mIRC|/aline}}
* [[/cline command - mIRC|/cline]]
+
* {{mIRC|/cline}}
* [[/dline command - mIRC|/dline]]
+
* {{mIRC|/dline}}
* [[/renwin command - mIRC|/renwin]]
+
* {{mIRC|/renwin}}
* [[/sline command - mIRC|/sline]]
+
* {{mIRC|/sline}}
* [[/window command - mIRC|/window]]
+
* {{mIRC|/window}}
 +
{{mIRC command list}}
  
[[Category:mIRC commands]]
+
[[Category:mIRC commands|cline command - mIRC]]

Latest revision as of 20:56, 17 March 2023

The /cline command changes the color of the Nth line/item in a custom window or channel's nicklist.

Synopsis[edit]

/cline -hrmltc[N] [c] <@name/#channel> <N>

Switches[edit]

  • -h - Highlights the window's button (if window is minimized)
  • -r - Reset an item in the listbox to default; [c] parm must be omitted
  • -m - When coloring a nick in the nicklist, also color the nick in channel messages
  • -l - Apply to side listbox
  • -t - forces a re-wrap of all lines in a window that have not yet been wrapped to the current window size.
  • -c[N] - Same as using the [c] parameter to change the color, but via a switch

Parameters[edit]

  • [c] - new color
  • <@name/#channel> - target window/channel
  • <N> - line/item number

Example[edit]

;Color your nick color number 4 (default red) in the active channel
//cline -l 4 $chan $fline($chan,$me,1,1)

Compatibility[edit]

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[edit]

[Expand]
v · d · e mIRC commands list