Difference between revisions of "Editbox"
From Scriptwiki
m (added -c) |
|||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
This command controls the window edit box, and can be used to manipulate the text inside. (An editbox is the place where text is typed in a window, for example where you would type your message) | This command controls the window edit box, and can be used to manipulate the text inside. (An editbox is the place where text is typed in a window, for example where you would type your message) | ||
− | /editbox [- | + | /editbox [-safnopbNeNvqNc] [window] <text> |
Choosing your window | Choosing your window | ||
Line 17: | Line 17: | ||
* -v prevents the content from being changed | * -v prevents the content from being changed | ||
* -qN enables, disables, or toggles (on/off) the second edit box. | * -qN enables, disables, or toggles (on/off) the second edit box. | ||
+ | * -c clears the editbox '''Note: This is undocumented functionality and may be removed in future versions''' | ||
==See Also== | ==See Also== |
Latest revision as of 00:16, 4 December 2010
This command controls the window edit box, and can be used to manipulate the text inside. (An editbox is the place where text is typed in a window, for example where you would type your message)
/editbox [-safnopbNeNvqNc] [window] <text>
Choosing your window
- -s specifies status window
- -a specifies the active window
- you can use [window] to give a specific window name
- If the window is a DCC chat, prefix it with =
- -f sets the focus to the editbox of the specified window
- -p appends a space to the end of the text
- -n will press enter after the text has been entered
- -o specifies the second editbox, if the given window has two
- -bNeN will select text in the edit box, starting at b and ending at e
- To select characters 5-10, /editbox -b5e10 #help.script This text will be highlighted
- -v prevents the content from being changed
- -qN enables, disables, or toggles (on/off) the second edit box.
- -c clears the editbox Note: This is undocumented functionality and may be removed in future versions