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

(Created page with "The '''dline command''' is used to delete lines of text from a custom window. == Synopsis == /dline <@name> <N[-N2]> == Switches == * '''-h''' - Highlights the window's nod...")
 
m
Line 11: Line 11:
  
 
* '''<@name>''' - The name of the window
 
* '''<@name>''' - The name of the window
* '''<N[-N2]>''' - The range to be deleted, (negative value are NOT accepted)
+
* '''<N[-N2]>''' - The range to be deleted, (negative values are NOT accepted)
  
 
== Example ==
 
== Example ==

Revision as of 07:22, 17 December 2013

The dline command is used to delete lines of text from a custom window.

Synopsis

/dline <@name> <N[-N2]>

Switches

  • -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

Parameters

  • <@name> - The name of the window
  • <N[-N2]> - The range to be deleted, (negative values are NOT accepted)

Example

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

Added: mIRC v5.0

Added On: 02/04/97

Note: Individual switches were not taken into consideration.

See also