mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Jul 2003
Posts: 5
L
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
L
Joined: Jul 2003
Posts: 5
When i try and connect to two different severs I have a problem with the second sever i connect to it connects several times to the same sever and room. I am using this in my remotes
on *:START: {
server 1
server -m sever 2}

then in my perform list on connect i have this.
/msg NickServ IDENTIFY password
/join #room 1
/join #room 2

Is there something here causing my problem

Joined: Dec 2003
Posts: 7
N
Nutrimatic drinks dispenser
Offline
Nutrimatic drinks dispenser
N
Joined: Dec 2003
Posts: 7
on *:START:{
server blah.blah.net -j #room
server -m blah2.blah2.net -j #room
}
Possibly!

Joined: Dec 2003
Posts: 219
F
Fjord artisan
Offline
Fjord artisan
F
Joined: Dec 2003
Posts: 219
Hi!

Each connection to an IRC server has its "ID", $scon and its alias /scon
mIRC's help file is really helpful: /help $scon

The -a switch on /scon performs the command on all connection ids instead of looping each one.

So here's a script:
/scon -a /alias

and your /alias {
/msg NickServ IDENTIFY password
/join #room 1
/join #room 2
}


Joined: Aug 2003
Posts: 1,831
I
Hoopy frood
Offline
Hoopy frood
I
Joined: Aug 2003
Posts: 1,831
No no, you do NOT "/msg NickServ IDENTIFY password" on every connection.
Also it is much safer to use: /nickserv identify passwd

Joined: Dec 2003
Posts: 219
F
Fjord artisan
Offline
Fjord artisan
F
Joined: Dec 2003
Posts: 219
/nickserv is not a valid command on every server...
You could check for NickServ's whois or /msg [email]nickserv@services.host.of.your.server[/email] if it is supported.

Joined: Aug 2003
Posts: 1,831
I
Hoopy frood
Offline
Hoopy frood
I
Joined: Aug 2003
Posts: 1,831
/nickserv is supported on most networks (that have nickserv), if it isn't you will get a "421 Unknown command" and thn you know to use the alternative.
Whether you use "/nickserv" or "/msg [email]nickserv@blahblah"[/email] , the main point of my post was that it should NOT be part of a "/scid -a" routine.
BTW "/scid -a" will fail if one cid is not connected, (if cid1 is not connected, or cid2 isn't and you have a cid3) "/scid -at1" for all connected cids.

Joined: Jun 2003
Posts: 5,024
M
Hoopy frood
Offline
Hoopy frood
M
Joined: Jun 2003
Posts: 5,024
I agree with Iori. In fact, I wouldn't have any form of the identify command put in remotes or the Perform section for top password security.

The biggest network with NickServ is DALnet and /msg NickServ is not supported (due to security reasons).

My 2 cents.

Regards,


Mentality/Chris

Link Copied to Clipboard