Editbox » History » Revision 4
« Previous |
Revision 4/16
(diff)
| Next »
Per Amundsen, 11/24/2016 12:37 PM
Added in 1.9.0
/editbox [-abNeNfNnopqNsvcC] [window] <text|color>
Fills the Editbox of the current or specified window with the specified text.
Switches
-a - Use the Editbox from the current active window.
-bN - Set selection start to position N.
-eN - Set selection end to position N.
-fN - If N = 1/[$null] sets focus to the Editbox and makes sure the window is not minimized and active.
-n - "press" enter on the Editbox after the text is added.
-o - TODO
-p - Append a white-space after the text.
-qN - TODO
-s - Use the Editbox from status/server window associated with current window.
-v - Prevents the Editbox contents from being changed.
-c - Sets the Editbox text color.
-C - Sets the Editbox background color.
Parameters
[window] - The window to edit.
<text|color> - The text to append/insert or the color to set.
Example
; Inserts 'Hello World!' into the Editbox in current active window. /editbox -a Hello World!
Updated by Per Amundsen about 8 years ago · 4 revisions