From WikiChip
Difference between revisions of "mirc/commands/dline"
m |
(→Switches) |
||
(14 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{mirc title|/dline Command}} | ||
The '''dline command''' is used to delete lines of text from a custom window. | The '''dline command''' is used to delete lines of text from a custom window. | ||
== Synopsis == | == Synopsis == | ||
− | /dline <@name> <N[-N2]> | + | /dline -hlcNt <@name> <N[-N2]> |
== Switches == | == Switches == | ||
* '''-h''' - Highlights the window's node in the treebar if the window is minimized | * '''-h''' - Highlights the window's node in the treebar if the window is minimized | ||
* '''-l''' - Specify the action to take place on the side-listbox | * '''-l''' - Specify the action to take place on the 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 30: | Line 33: | ||
== Compatibility == | == Compatibility == | ||
− | + | {{mIRC compatibility|5.0}} | |
− | |||
− | |||
− | |||
− | |||
== 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|$line}} |
− | * | + | * {{mIRC|$fline}} |
− | * | + | * {{mIRC|$sline}} |
− | * | + | * {{mIRC|/cline}} |
− | * | + | * {{mIRC|/dline}} |
− | * | + | * {{mIRC|/echo}} |
− | * | + | * {{mIRC|/iline}} |
− | * | + | * {{mIRC|/rline}} |
− | * | + | * {{mIRC|/sline}} |
− | * | + | * {{mIRC|/window}} |
+ | {{mIRC command list}} | ||
− | [[Category:mIRC commands]] | + | [[Category:mIRC commands|dline command - mIRC]] |
Latest revision as of 19:30, 17 March 2023
Commands & Identifiers
Basics
Events
Matching Tools
Data Storage
Control Structures
GUI Scripting
Sockets
Advanced Scripting
Additional Resources
Security
Other
The dline command is used to delete lines of text from a custom window.
Synopsis[edit]
/dline -hlcNt <@name> <N[-N2]>
Switches[edit]
- -h - Highlights the window's node in the treebar if the window is minimized
- -l - Specify the action to take place on the 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]
- <@name> - The name of the window
- <N[-N2]> - The range to be deleted, (negative values are NOT accepted)
Example[edit]
Alias Example { ;open a desktop custom window (listbox and with an editbox) Window -lde @Foo ;Add a line, line colored in yellow (8) Aline 8 @Foo Line A ;Add a line, color Dark Green (3), selected, clear old selection (x3) Aline -s 3 @Foo Line B Aline -s 3 @Foo Line C Aline -s 3 @Foo Line D ;Delete line 2 and 3 with range 2-3, only A D remain Dline @Foo 2-3 }
Compatibility[edit]
Added: mIRC v5.0
Added on: 02 Apr 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
- $line
- $fline
- $sline
- /cline
- /dline
- /echo
- /iline
- /rline
- /sline
- /window
mIRC commands list