From WikiChip
Difference between revisions of "mirc/commands/cline"
(→Switches) |
|||
(One intermediate revision by the same user not shown) | |||
Line 3: | Line 3: | ||
== Synopsis == | == Synopsis == | ||
− | /cline - | + | /cline -hrmltc[N] [c] <@name/#channel> <N> |
== Switches == | == Switches == | ||
Line 11: | Line 11: | ||
* '''-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. | * '''-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 19:56, 17 March 2023
Commands & Identifiers
Basics
Events
Matching Tools
Data Storage
Control Structures
GUI Scripting
Sockets
Advanced Scripting
Additional Resources
Security
Other
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]
- List of commands
- List of identifiers
- $window
- $line
- $fline
- $sline
- /aline
- /cline
- /dline
- /renwin
- /sline
- /window
mIRC commands list