mIRC Home    About    Download    Register    News    Help

Print Thread
F
FuzzyWuzzaBear
FuzzyWuzzaBear
F
Hi,

I have been on mIRC for nearly 20 years, but just started getting involved on the scripting side of the program.

I want to connect to multiple servers simultaneously and want to auto-identify my nick when connected.

The problem that I have had is that when I start the program the last server that I was connected to comes up and tries to connect as the other servers connect at the same time, so I always get at least one duplicate server on connect.

I have never auto-identified, so I'd like to know what the script.ini file would look like if I wanted to do it like this.

Thanks for the help in advance!

Joined: Jan 2004
Posts: 1,330
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Jan 2004
Posts: 1,330
It sounds like you have 'connect on startup' enabled in the options, disable this. It also sounds like you're using the -m switch in all /server lines. Don't use -m on the first.

To identify you use the connect event
Code:
on *:connect:{
  if ($network == XXX) { ... }
  elseif ($network == YYY) { ... }
}

F
FuzzyWuzzaBear
FuzzyWuzzaBear
F
I was seeing something that said you use the NOTICE event to do the Identify....???

Joined: Feb 2015
Posts: 241
O
Fjord artisan
Offline
Fjord artisan
O
Joined: Feb 2015
Posts: 241
Maybe what you saw was talking about the user notice which NickServ sends to you when your nick is a registered nick and it usually looks like this:
"This nick is registered If you dont identify your nick will be changed in X seconds."
Or something simular. But you dont have to wait for the notice to come, you can use what Loki said and identify as soon as you are connected


Link Copied to Clipboard