Project

General

Profile

Editbox » History » Revision 3

Revision 2 (Per Amundsen, 03/20/2015 01:15 PM) → Revision 3/16 (Per Amundsen, 03/20/2015 01:16 PM)

_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 Orevents the editbox contents from being changed. 

 *Parameters* 

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

 *Example* 

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