From WikiChip
Difference between revisions of "mirc/commands/sline"
(→Examples) |
(→Synopsis) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
The '''/sline''' command is used to select a line, or a specific set of lines, in a specific window. This command works on most custom @windows, as well as channel nickname lists. | The '''/sline''' command is used to select a line, or a specific set of lines, in a specific window. This command works on most custom @windows, as well as channel nickname lists. | ||
− | = Synopsis = | + | == Synopsis == |
<source lang="mIRC">/sline [c] -artc[N] <#channel> <N|nick></source> | <source lang="mIRC">/sline [c] -artc[N] <#channel> <N|nick></source> | ||
− | <source lang="mIRC">/sline -artc[N] <@win> <N></source> | + | <source lang="mIRC">/sline [c] -artc[N] <@win> <N></source> |
− | = Switches = | + | == Switches == |
* '''-a''' - Causes the selection to select the new line while retaining all previous selections | * '''-a''' - Causes the selection to select the new line while retaining all previous selections | ||
* '''-r''' - Removes selections from either all lines or the Nth line (cannot unselect specific multiple lines at once). | * '''-r''' - Removes selections from either all lines or the Nth line (cannot unselect specific multiple lines at once). | ||
Line 13: | Line 13: | ||
* '''-c[N]''' - Same as using the [c] parameter to change the color, but via a switch | * '''-c[N]''' - Same as using the [c] parameter to change the color, but via a switch | ||
− | = Parameters = | + | == Parameters == |
− | + | * '''#channel''' - Specifies the window that you wish to target. | |
− | + | * '''N|nick''' - Tells mIRC which line number you wish to select, if using a channel window, you can pass a nickname to be matched against and that line number will be used | |
− | |||
+ | == Examples == | ||
<pre>/sline #example awesomePerson | <pre>/sline #example awesomePerson | ||
Line 29: | Line 29: | ||
<pre>/sline -r #example 1</pre> | <pre>/sline -r #example 1</pre> | ||
<pre>/sline -r #example</pre> | <pre>/sline -r #example</pre> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== See also == | == See also == |
Latest revision as of 19:55, 17 March 2023
Commands & Identifiers
Basics
Events
Matching Tools
Data Storage
Control Structures
GUI Scripting
Sockets
Advanced Scripting
Additional Resources
Security
Other
The /sline command is used to select a line, or a specific set of lines, in a specific window. This command works on most custom @windows, as well as channel nickname lists.
Contents
Synopsis[edit]
/sline [c] -artc[N] <#channel> <N|nick>
/sline [c] -artc[N] <@win> <N>
Switches[edit]
- -a - Causes the selection to select the new line while retaining all previous selections
- -r - Removes selections from either all lines or the Nth line (cannot unselect specific multiple lines at once).
- -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]
- #channel - Specifies the window that you wish to target.
- N|nick - Tells mIRC which line number you wish to select, if using a channel window, you can pass a nickname to be matched against and that line number will be used
Examples[edit]
/sline #example awesomePerson /sline -a #example John /sline -a #example UhOh
/sline @win 1
/sline -r #example awesomePerson
/sline -r #example 1
/sline -r #example
See also[edit]
mIRC commands list