From WikiChip
mirc/commands/linesep
< mirc‎ | commands
Revision as of 18:30, 4 December 2013 by David (talk | contribs) (Created page with "The '''/linesep command''' prints the line separator at a specified target. With no arguments, the line separator is printed to the active window. A line separator is only add...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The /linesep command prints the line separator at a specified target. With no arguments, the line separator is printed to the active window. A line separator is only added if it's not the first line and the last line is not already a line separator. The line separator can be changed by going into the options dialog (Alt+O) -> Other -> Line separator.

If your goal is to simple enclose your text with a pair of line separator:

Note that:

//linesep @x | echo @x Example Line. | linesep @x

Is equivalent to:

//echo -e @x Example Line.

Synopsis

/linesep [window]
/linesep -s

Switches

  • -s - Print the line separator in the status window

Parameters

  • [window] - The target @window, #channel, or query

Example

A simple line separator between two lines:

alias example {
  ; create our example window
  window -de @example -1 -1 400 400
 
  ; print a simple line
  aline @example Line A.
 
  ; add a line separator
  linesep @example
 
  ; print another simple line
  aline @example Line B.
}

Compatibility

Added: mIRC v5.3

Added On: 13/12/97

Note: Individual switches were not taken into consideration.

See also