From WikiChip
Difference between revisions of "mirc/commands/cline"
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 - | + | /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 == | ||
− | + | {{mIRC compatibility|5.1}} | |
− | |||
− | |||
− | |||
− | |||
== 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]] | ||
− | * | + | * {{mIRC|$window}} |
− | * | + | * {{mIRC|$line}} |
− | * | + | * {{mIRC|$fline}} |
− | * | + | * {{mIRC|$sline}} |
* {{mIRC|/aline}} | * {{mIRC|/aline}} | ||
* {{mIRC|/cline}} | * {{mIRC|/cline}} | ||
Line 41: | Line 40: | ||
{{mIRC command list}} | {{mIRC command list}} | ||
− | [[Category: | + | [[Category:mIRC commands|cline command - mIRC]] |
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