From WikiChip
Difference between revisions of "mirc/commands/iline"
(→Example) |
(→Switches) |
||
(14 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{mirc title|/iline Command}} | ||
The '''iline command''' is used to insert a single line of text to a custom window. | The '''iline command''' is used to insert a single line of text to a custom window. | ||
== Synopsis == | == Synopsis == | ||
− | /iline - | + | /iline -sahpi[N]nltc[N] [c] <@name> <N> <text> |
== Switches == | == Switches == | ||
Line 9: | Line 10: | ||
* '''-h''' - Highlights the window's node in the treebar is the window is minimized | * '''-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''' - Indent the newly added line (does not apply to listboxes) | + | * '''-i[N]''' - Indent the newly added line (does not apply to listboxes) to N spaces, default to 2 spaces |
* '''-n''' - Prevent the line from being added if it already exists | * '''-n''' - Prevent the line from being added if it already exists | ||
* '''-l''' - Specify the action to take place on the side-listbox | * '''-l''' - Specify the action to take place on the side-listbox | ||
+ | * '''-t''' - forces a re-wrap of all lines in a window that have not yet been wrapped to the current window size. | ||
+ | * '''-c[N]''' - Same as using [c] parameter to change the color, but via a switch. | ||
== Parameters == | == Parameters == | ||
Line 34: | Line 37: | ||
== Compatibility == | == Compatibility == | ||
− | + | {{mIRC compatibility|5.0}} | |
− | |||
− | |||
− | |||
− | |||
== 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|$line}} |
− | * | + | * {{mIRC|$fline}} |
− | * | + | * {{mIRC|$sline}} |
− | * | + | * {{mIRC|/cline}} |
− | * | + | * {{mIRC|/dline}} |
− | * | + | * {{mIRC|/echo}} |
− | * | + | * {{mIRC|/aline}} |
− | * | + | * {{mIRC|/rline}} |
− | * | + | * {{mIRC|/sline}} |
− | * | + | * {{mIRC|/window}} |
+ | {{mIRC command list}} | ||
− | [[Category:mIRC commands]] | + | [[Category:mIRC commands|iline command - mIRC]] |
Latest revision as of 19:34, 17 March 2023
Commands & Identifiers
Basics
Events
Matching Tools
Data Storage
Control Structures
GUI Scripting
Sockets
Advanced Scripting
Additional Resources
Security
Other
The iline command is used to insert a single line of text to a custom window.
Synopsis[edit]
/iline -sahpi[N]nltc[N] [c] <@name> <N> <text>
Switches[edit]
- -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
- -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)
- -i[N] - Indent the newly added line (does not apply to listboxes) to N spaces, default to 2 spaces
- -n - Prevent the line from being added if it already exists
- -l - Specify the action to take place on the side-listbox
- -t - forces a re-wrap of all lines in a window that have not yet been wrapped to the current window size.
- -c[N] - Same as using [c] parameter to change the color, but via a switch.
Parameters[edit]
- [c] - An optional color number for the line
- <@name> - The name of the window
- <N> - The number of the line you want to insert the text into
- <text> - The text to be inserted
Example[edit]
Alias Example { ;open a desktop custom window (main window is a listbox, no side-listbox and with an editbox) Window -lde @Foo ;Add a line, line colored in yellow (8) Aline 8 @Foo Line A ;insert at line 1, color Dark Green (3), selected, clear old selection iline -s 3 @Foo 1 Line B }
Compatibility[edit]
Added: mIRC v5.0
Added on: 02 Apr 1997
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.
See also[edit]
- List of commands
- List of identifiers
- $line
- $fline
- $sline
- /cline
- /dline
- /echo
- /aline
- /rline
- /sline
- /window
mIRC commands list