/linesep
Indice
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.
| Contents - 1 Synopsis - 2 Switches - 3 Parameters - 4 Example - 5 Compatibility - 6 See also |
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: 12/13/1997
Note: Individual switches were not taken into consideration.
See also
mIRC commands list