Added in 1.9.0

/editbox [-abNeNfNnopqNsv] [window] <text>

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 whitespace 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.

Parameters

[window] - The window to edit.
<text> - The text to append/insert.

Example

;Inserts 'Hello World!' into the editbox in current active window.
/editbox -a Hello World!