From WikiChip
Editing mirc/commands/linesep

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

This page supports semantic in-text annotations (e.g. "[[Is specified as::World Heritage Site]]") to build structured and queryable content provided by Semantic MediaWiki. For a comprehensive description on how to use annotations or the #ask parser function, please have a look at the getting started, in-text annotation, or inline queries help pages.

Latest revision Your text
Line 1: Line 1:
{{mirc title|/linesep Command}}
+
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 would not be the first line and if the last line is not already the line separator.<br />
 
The line separator can be changed by going into the options dialog (Alt+O) -> Other -> Line separator. If this option dialog shows the line separator is blank, /linesep does not add a blank line. You can also set the line separator to multiple characters like -/- and the entire string is used as the line separator.
 
  
If your goal is to simply enclose your text with a pair of line separator:
+
If your goal is to simple enclose your text with a pair of line separator:
  
 
Note that:
 
Note that:
Line 11: Line 9:
  
 
== Synopsis ==
 
== Synopsis ==
  /linesep [ @window | #channel | query | -s | -a ]
+
  /linesep [window]
Note: default is -a if no parameter is used.
+
/linesep -s
  
 
== Switches ==
 
== Switches ==
 
* '''-s''' - Print the line separator in the status window
 
* '''-s''' - Print the line separator in the status window
* '''-a''' - Print the line separator in the active window
+
 
Note: This is an echo, so if active window is a -l listbox @window, the echo appears in Status Window.
 
 
== Parameters ==
 
== Parameters ==
 
* '''[window]''' - The target @window, #channel, or query
 
* '''[window]''' - The target @window, #channel, or query
Line 36: Line 33:
 
   ; print another simple line
 
   ; print another simple line
 
   aline @example Line B.
 
   aline @example Line B.
 +
}</syntaxhighlight>
  
The following /linesep command does nothing because the last line is already the line separator character.
+
== Compatibility ==
//echo -a $readini($mircini,text,linesep) | /linesep -a
+
Added: mIRC v5.3
  
}</syntaxhighlight>
+
Added On: 13/12/97
  
== Compatibility ==
+
<small>Note: Individual switches were not taken into consideration.</small>
{{mIRC compatibility|5.3}}
 
  
 
== 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|/aline}}
+
* [[/aline command - mIRC|/aline]]
* {{mIRC|/dline}}
+
* [[/dline command - mIRC|/dline]]
* {{mIRC|/echo}}
+
* [[/echo command - mIRC|/echo]]
 
{{mIRC command list}}
 
{{mIRC command list}}
  
[[Category:mIRC commands|linesep command - mIRC]]
+
[[Category:MIRC commands]]

Please note that all contributions to WikiChip may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see WikiChip:Copyrights for details). Do not submit copyrighted work without permission!

Cancel | Editing help (opens in new window)