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

m (PatrolBot moved page /cline command - mIRC to mirc/commands/cline: per new naming convention)
(Switches)
 
(4 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{mIRC menu}}
+
{{mirc title|/cline Command}}
 
The '''/cline command''' changes the color of the Nth line/item in a custom window or channel's nicklist.
 
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 ==
Line 9: Line 9:
 
* '''-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 nicklist, 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 ==

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