From WikiChip
Difference between revisions of "mirc/commands/linesep"
m (PatrolBot moved page /linesep command - mIRC to mirc/commands/linesep: per new naming convention) |
m (bot: correcting title) |
||
Line 1: | Line 1: | ||
− | {{mIRC menu}} | + | {{mirc title|/linesep Command}}{{mIRC menu}} |
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. | 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. | ||
Revision as of 04:22, 4 January 2015
Commands & Identifiers
Basics
Events
Matching Tools
Data Storage
Control Structures
GUI Scripting
Sockets
Advanced Scripting
Additional Resources
Security
Other
Template:mIRC menu 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 Dec 1997
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.
See also
mIRC commands list