mIRC Home    About    Download    Register    News    Help

Print Thread
#116947 10/04/05 07:33 PM
Joined: Nov 2003
Posts: 82
F
Felpipe Offline OP
Babel fish
OP Offline
Babel fish
F
Joined: Nov 2003
Posts: 82
Hello !

How can I make a simple pop up message just saying something with a "ok" button?

#116948 10/04/05 07:34 PM
Joined: Aug 2003
Posts: 314
S
Fjord artisan
Offline
Fjord artisan
S
Joined: Aug 2003
Posts: 314
Code:
//.echo -q $input(text,o)


Look at /help $input

#116949 10/04/05 07:34 PM
Joined: Dec 2002
Posts: 3,547
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
Code:
$input(Your text above button,o,Your titlebar)

smile

Edit:

Sigh beat me to it.

#116950 10/04/05 07:50 PM
Joined: Nov 2003
Posts: 82
F
Felpipe Offline OP
Babel fish
OP Offline
Babel fish
F
Joined: Nov 2003
Posts: 82
wow u people are quick !!
thx alot

#116951 10/04/05 07:52 PM
Joined: Dec 2002
Posts: 3,547
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
You're welcome. smile

#116952 10/04/05 07:54 PM
Joined: Nov 2003
Posts: 82
F
Felpipe Offline OP
Babel fish
OP Offline
Babel fish
F
Joined: Nov 2003
Posts: 82

I ran it but it shows a OK and CANCEL button I only need a OK button......

Thank u

#116953 10/04/05 07:56 PM
Joined: Aug 2003
Posts: 314
S
Fjord artisan
Offline
Fjord artisan
S
Joined: Aug 2003
Posts: 314
Did you include the 'o' parameter? $input(text,o)

#116954 10/04/05 07:56 PM
Joined: Dec 2002
Posts: 3,547
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
Use what I said..

Code:
//echo -q $input(Your text above button,o,Your titlebar)


Edit:

I just used Sigh's code and that works for me, so it should work for you.. :tongue:

#116955 10/04/05 07:57 PM
Joined: Nov 2003
Posts: 82
F
Felpipe Offline OP
Babel fish
OP Offline
Babel fish
F
Joined: Nov 2003
Posts: 82
Yes I did ( copy paste )

#116956 10/04/05 07:59 PM
Joined: Nov 2003
Posts: 82
F
Felpipe Offline OP
Babel fish
OP Offline
Babel fish
F
Joined: Nov 2003
Posts: 82
I still get the OK and CANCEL buttons with:

//echo -q $input(Your text above button,o,Your titlebar)

I Just need the OK button

( sorry for buggin u all )

#116957 10/04/05 08:01 PM
Joined: Aug 2003
Posts: 314
S
Fjord artisan
Offline
Fjord artisan
S
Joined: Aug 2003
Posts: 314
Are you using an mIRC version older than 6.03? If so you want $input(text,4)

#116958 10/04/05 08:05 PM
Joined: Nov 2003
Posts: 82
F
Felpipe Offline OP
Babel fish
OP Offline
Babel fish
F
Joined: Nov 2003
Posts: 82
Yes I am

And It works now the way I wanted Thank you VERY much smile

#116959 11/04/05 04:10 AM
Joined: Sep 2003
Posts: 4,230
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Sep 2003
Posts: 4,230
regardless it should be used with

!.echo -q

or from the mirc line

//!.echo -q

! to make sure no stinky alias takes it
. to make command quietish
echo to echo something
-q switch to not echo anything if . was used

Thus the $true or $false responce from $input is never seen.


Link Copied to Clipboard