mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Sep 2003
Posts: 70
M
Babel fish
OP Offline
Babel fish
M
Joined: Sep 2003
Posts: 70
$editbox(text,evn) should do the following according to the help:

By default, buttons return $true or $null, same as $?. If there is an input editbox, the ok/yes buttons always return the contents of the editbox.
e - show input editbox
v - return $ok, $yes, $no, $cancel for buttons.
n - yes no cancel buttons

It shows an input box and the correct buttons. The ok/yes buttons do return the contents of the editbox. The no and cancel buttons do not return $no or $cancel. There is no reason in the help for it to do this.

Joined: Aug 2003
Posts: 1,831
I
Hoopy frood
Offline
Hoopy frood
I
Joined: Aug 2003
Posts: 1,831
Um no, what you posted is part of /help $input

This is what /help syays about $editbox..
$editbox(window,N)
Returns the text in the editbox of the specified window.

If N = 1, returns the text in the second editbox in a channel window, if it's open.


edit: and yes the e switch sort of overrides the other switches, so what is entered in the editbox, or $null, is returned.

Last edited by Iori; 27/11/03 09:47 PM.

Link Copied to Clipboard