mIRC Home    About    Download    Register    News    Help

Print Thread
#38619 27/07/03 10:29 PM
Joined: Jun 2003
Posts: 36
E
elroyK Offline OP
Ameglian cow
OP Offline
Ameglian cow
E
Joined: Jun 2003
Posts: 36
what is the command to make a window pop up with a couple of buttons, like yes/no ok? I kinda forgot..

#38620 27/07/03 10:50 PM
Joined: Dec 2002
Posts: 3,138
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
If you want a text box with Ok/Cancel buttoks you can use $?="Question", otherwise you can use $input with with the parameters found in /help $input.

#38621 27/07/03 10:53 PM
Joined: Dec 2002
Posts: 1,237
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Dec 2002
Posts: 1,237
I'm not quite sure exactly what you are talking about but here's the first thing that came to my mind...

From the help file:

//echo $?!="Shall I continue?"

In this case, a Yes/No dialog pops up. If the user clicks on Yes, $true is returned, otherwise $false is returned.

The input dialog is extended vertically to display the whole message if it is very long. You can also make text appear on different lines by using the $crlf identifier to separate the lines, eg.

//echo $?="This is on the first line. $crlf $+ And this is on the 2nd line."

Then here was the second thing that came to myh mind...

Dialogs? Maybe

I am unaware of a command that makes something like this pop up unless you were using a script with aliases to make a dialog pop up. You could look into dialog studio here. If you are curious about it.





#38622 27/07/03 11:02 PM
Joined: Jun 2003
Posts: 36
E
elroyK Offline OP
Ameglian cow
OP Offline
Ameglian cow
E
Joined: Jun 2003
Posts: 36
that's the one, $input. thanks


Link Copied to Clipboard