Project

General

Profile

Editbox » History » Version 6

Per Amundsen, 01/08/2017 12:23 AM

1 1 Per Amundsen
_Added in 1.9.0_
2
3 6 Per Amundsen
*/editbox [-abNeNfNinopqNsvck] [window] <text|color>*
4 1 Per Amundsen
5 4 Per Amundsen
Fills the Editbox of the current or specified window with the specified text.
6 1 Per Amundsen
7
*Switches*
8
9 4 Per Amundsen
-a - Use the Editbox from the current active window.
10 1 Per Amundsen
-bN - Set selection start to position N.
11
-eN - Set selection end to position N.
12
-fN - If N = 1/[$null] sets focus to the Editbox and makes sure the window is not minimized and active.
13 6 Per Amundsen
-i - Inserts the text at current cursor position. (AdiIRC only)
14 4 Per Amundsen
-n - "press" enter on the Editbox after the text is added.
15 2 Per Amundsen
-o - TODO
16 4 Per Amundsen
-p - Append a white-space after the text.
17 1 Per Amundsen
-qN - TODO
18 4 Per Amundsen
-s - Use the Editbox from status/server window associated with current window.
19
-v - Prevents the Editbox contents from being changed.
20
-c - Sets the Editbox text color.
21 5 Per Amundsen
-k - Sets the Editbox background color.
22 1 Per Amundsen
23
*Parameters*
24
25
[window] - The window to edit.
26 4 Per Amundsen
<text|color> - The text to append/insert or the color to set.
27 1 Per Amundsen
28
*Example*
29
30
<pre>
31 4 Per Amundsen
; Inserts 'Hello World!' into the Editbox in current active window.
32 1 Per Amundsen
/editbox -a Hello World!
33
</pre>