From WikiChip
Difference between revisions of "mirc/commands/editbox"
(Created page with "The '''/editbox command''' provides the ability to edit the editbox of a window according to the switches. To specify a dcc chat window, prefix the nickname with an equal sign...") |
m (Bot: de-linking old mIRC menu) |
||
(12 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{mirc title|/editbox Command}} | ||
The '''/editbox command''' provides the ability to edit the editbox of a window according to the switches. To specify a dcc chat window, prefix the nickname with an equal sign '='. | The '''/editbox command''' provides the ability to edit the editbox of a window according to the switches. To specify a dcc chat window, prefix the nickname with an equal sign '='. | ||
Line 13: | Line 14: | ||
* '''-bN''' - set the start of the selection | * '''-bN''' - set the start of the selection | ||
* '''-eN''' - set the end of the selection | * '''-eN''' - set the end of the selection | ||
− | * '''-v''' - prevents the editbox contents from being changed | + | * '''-v''' - used with -f and -q, prevents the editbox contents from being changed |
− | * '''-qN''' - disables the editbox with N = 0, | + | * '''-qN''' - disables the second editbox with N = 0, enables it with N = 1, and toggles the state if N = 2 |
== Parameters == | == Parameters == | ||
Line 21: | Line 22: | ||
== Example == | == Example == | ||
+ | A popup example | ||
+ | |||
+ | Add a smileyface to the second edit box: | ||
+ | |||
+ | <source lang="mIRC">/editbox -oq ☺ $+ editbox($chan,1)</source> | ||
== Compatibility == | == Compatibility == | ||
Added: 5.1 | Added: 5.1 | ||
− | |||
− | |||
− | |||
− | |||
== 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|$editbox}} |
+ | {{mIRC command list}} | ||
− | [[Category:mIRC commands]] | + | [[Category:mIRC commands|editbox command - mIRC]] |
Latest revision as of 18:19, 15 June 2017
Commands & Identifiers
Basics
Events
Matching Tools
Data Storage
Control Structures
GUI Scripting
Sockets
Advanced Scripting
Additional Resources
Security
Other
The /editbox command provides the ability to edit the editbox of a window according to the switches. To specify a dcc chat window, prefix the nickname with an equal sign '='.
Synopsis[edit]
/editbox [-saf[N]nopbNeNvqN] [window] <text>
Switches[edit]
- -s - specifies the Status window
- -a - specifies the Active window
- -fN - if N = 1 sets focus, if N = 2 uses editbox with focus
- -p - indicates that a space should be appended to text
- -n - fills the editbox and presses the enter key in the editbox
- -o - applies the command to the second editbox in a channel window
- -bN - set the start of the selection
- -eN - set the end of the selection
- -v - used with -f and -q, prevents the editbox contents from being changed
- -qN - disables the second editbox with N = 0, enables it with N = 1, and toggles the state if N = 2
Parameters[edit]
- [window] - if the switch doesn't involve a window to be used, you must provide it
- <text> - the text used for the edition
Example[edit]
A popup example
Add a smileyface to the second edit box:
/editbox -oq ☺ $+ editbox($chan,1)
Compatibility[edit]
Added: 5.1
See also[edit]
mIRC commands list