mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Jul 2006
Posts: 14
P
Pikka bird
OP Offline
Pikka bird
P
Joined: Jul 2006
Posts: 14
Hello.

I need a connection popup with a "double prompt" and i don't find how to do it.

For connecting in my irc server, i need a nick that change each time, and a pass that change each time.

I want to make a popup that with ONT clik on the pupup does all that :


It prompt me for the nick
It prompt me for the pass

It make a
/nick "the prompted nick"
/server aa.oo.com "the prompted nick" "the prompted pass"

Do you know how i can do that ?

Thank you.

Joined: Oct 2004
Posts: 8,061
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Oct 2004
Posts: 8,061
Just do:

/server aa.oo.com $$?="the prompted nick" $$?="the prompted pass"

Joined: Jul 2006
Posts: 14
P
Pikka bird
OP Offline
Pikka bird
P
Joined: Jul 2006
Posts: 14
thank you i will try that tonight.

But i need mirc to first do a /nick xxx as xxx is the same nick that is user in the /server

Joined: Mar 2003
Posts: 611
B
Fjord artisan
Offline
Fjord artisan
B
Joined: Mar 2003
Posts: 611
Code:
menu * {
  Serverchange:{
    var %nick $$?="the prompted nick" 
    var %pass $$?*="the prompted pass"
    nick %nick
    server aa.bb.cc %nick %pass
  }
}

 


billythekid
Joined: Oct 2004
Posts: 8,061
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Oct 2004
Posts: 8,061
Quote:
thank you i will try that tonight.

But i need mirc to first do a /nick xxx as xxx is the same nick that is user in the /server


Sorry, didn't read closely enough. Btk's code is what you'll want to use.

Joined: Oct 2003
Posts: 284
S
Fjord artisan
Offline
Fjord artisan
S
Joined: Oct 2003
Posts: 284
Or even:

Code:
nick $$?="Nick?" | .server server.host.tld $! $$?*="Pass"


:>

Last edited by Sais; 28/11/06 10:19 AM.

Link Copied to Clipboard