From WikiChip
Editing mirc/commands/aline
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: | ||
− | |||
The '''aline command''' is used to add a single line of text to a custom window. This command is limited to custom @windows, If you need a more general command that is able to print to both custom windows, channel, and query consider using the /echo command instead. | The '''aline command''' is used to add a single line of text to a custom window. This command is limited to custom @windows, If you need a more general command that is able to print to both custom windows, channel, and query consider using the /echo command instead. | ||
− | |||
'''Note:''' If the main window is sorted (text or listbox and /window -s has been used), lines added with /echo to that window won't be sorted, only lines added with /aline will. | '''Note:''' If the main window is sorted (text or listbox and /window -s has been used), lines added with /echo to that window won't be sorted, only lines added with /aline will. | ||
== Synopsis == | == Synopsis == | ||
− | /aline - | + | /aline -sahpinl [c] <@name> <text> |
== Switches == | == Switches == | ||
* '''-s''' - Clears the old selection in a listbox and selects the newly added item | * '''-s''' - Clears the old selection in a listbox and selects the newly added item | ||
* '''-a''' - Selects the newly added item while keeping the old selection in a listbox | * '''-a''' - Selects the newly added item while keeping the old selection in a listbox | ||
− | * '''-h''' - Highlights the window's node in the treebar | + | * '''-h''' - Highlights the window's node in the treebar is the window is minimized |
* '''-p''' - Forces the line to be wrapped if it's too long to fit in on one line (does not apply to listboxes) | * '''-p''' - Forces the line to be wrapped if it's too long to fit in on one line (does not apply to listboxes) | ||
− | * '''-i | + | * '''-i''' - Indent the newly added line (does not apply to listboxes) |
− | * '''-n''' - Prevent the line from being added if | + | * '''-n''' - Prevent the line from being added if already exists |
* '''-l''' - Specify the action to take place on the side-listbox | * '''-l''' - Specify the action to take place on the side-listbox | ||
− | |||
− | |||
== Parameters == | == Parameters == | ||
− | * '''[c]''' - An optional color number for the line | + | * '''[c]''' - An optional color number for the line |
− | * '''<@name>''' - The name of the window | + | * '''<@name>''' - The name of the window |
− | * '''<text>''' - The text to be added | + | * '''<text>''' - The text to be added |
== Example == | == Example == | ||
Line 37: | Line 33: | ||
== Compatibility == | == Compatibility == | ||
− | + | Added: mIRC v5.0 | |
+ | |||
+ | Added On: 02/04/97 | ||
+ | |||
+ | <small>Note: Individual switches were not taken into consideration.</small> | ||
== 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]] | ||
− | * | + | * [[$line identifier - mIRC|$line]] |
− | * | + | * [[$fline identifier - mIRC|$fline]] |
− | * | + | * [[$slinex identifier - mIRC|$slinex]] |
− | * | + | * [[/cline command - mIRC|/cline]] |
− | * | + | * [[/dline command - mIRC|/dline]] |
− | * | + | * [[/echo command - mIRC|/echo]] |
− | * | + | * [[/iline command - mIRC|/iline]] |
− | * | + | * [[/rline command - mIRC|/rline]] |
− | * | + | * [[/sline command - mIRC|/sline]] |
− | * | + | * [[/window command - mIRC|/window]] |
− | |||
− | [[Category:mIRC commands | + | [[Category:mIRC commands]] |