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

m (Bot: Fixing links)
(Switches)
 
(11 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 +
{{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 8: 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 ==
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}}
 
* {{mIRC|/aline}}
 
* {{mIRC|/aline}}
 
* {{mIRC|/cline}}
 
* {{mIRC|/cline}}
Line 41: Line 40:
 
{{mIRC command list}}
 
{{mIRC command list}}
  
[[Category:MIRC commands]]
+
[[Category:mIRC commands|cline command - mIRC]]

Latest revision as of 19: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]

v · d · e mIRC commands list

A /abook, /action, /add, /ajinvite, /alias, /aline, /ame, /amsg, /anick, /aop, /auser, /auto, /autojoin, /avoice, /away

B /background, /ban, /bcopy, /beep, /bindip, /bread, /break, /breplace, /bset, /btrunc, /bunset, /bwrite

C /channel, /clear, /clearall, /clearial, /cline, /clipboard, /close, /closechats, /closedccs, /closefserves, /closemsg, /cnick, /color, /colour, /comclose, /comlist, /commands, /comopen, /comreg, /continue, /copy, /creq, /ctcp, /ctcpreply, /ctcps

D /dcc, /dccserver, /dde, /ddeserver, /debug, /dec, /describe, /dialog, /did, /didtok, /disable, /disconnect, /dlevel, /dline, /dll, Template:mIRC/donotdisturb, /dns, /dqwindow, /drawcopy, /drawdot, /drawfill, /drawline, /drawpic, /drawrect, /drawreplace, /drawrot, /drawsave, /drawscroll, /drawsize /drawtext

E /ebeeps, /echo, /editbox, /else, /elseif, /emailaddr, /enable, /events, /exit

F /fclose, /filter, /findtext, /finger, /firewall, /flash, /flist, /flood, /flush, /flushini, /fnord, /font, /fopen, /fseek, /fsend, /fserve, /fullname, /fupdate, /fwrite

G /ghide, /gload, /gmove, /gopts, /goto, /gplay, /gpoint, /gqreq, /groups, /gshow, /gsize, /gstop, /gtalk, /gunload, /guser

H /hadd, /halt, /haltdef, /hdec, /hdel, /help, /hfree, /hinc, /hload, /hmake, /hotlink, /hop, /hsave

I /ial, /ialclear, /ialmark, /identd, /if, /ignore, /iline, /inc, /iuser

J /join

L /leave, /linesep, /links, /list, /load, /loadbuf, /localinfo, /log, /logview

M /maxdepth, /mdi, /me, /menubar, /mkdir, /mnick, /mode, /msg

N /noop, /notice, /notify

O /onotice, /omsg

P /pareline, /part, /partall, /pdcc, /perform, /play, /playctrl, /pop, /protect, /proxy, /pvoice

Q /qme, /qmsg, /query, /queryrn, /quit, /quote

R /raw, /registration, /reload, /remini, /remote, /remove, /rename, /renwin, /reseterror, /resetidle, /return, /returnex, /rlevel, /rline, /rmdir, /run, /ruser

S /save, /savebuf, /saveini, /say, /scid, /scon, /server, /set, /setlayer, /showmirc, /signal, /sline, /sockaccept, /sockclose, /socklist, /socklisten, /sockmark, /sockopen, /sockpause, /sockread, /sockrename, /sockudp, /sockwrite, /sound, /speak, /splay, /sreq, /strip, /switchbar

T /timer, /timestamp, /tip, /tips, /titlebar, /tnick, /tokenize, /toolbar, /topic /tray, /treebar

U /ulist, /unload, /unset, /unsetall, /updatenl, /url, /username, /uwho

V /var, /vcadd, /vcmd, /vcrem, /vol

W

X /xyzzy