mIRC Home    About    Download    Register    News    Help

Print Thread
#48719 11/09/03 10:02 AM
D
DeVante
DeVante
D
I was wondering if there is a way to do the following upon launching mIRC.

Join two seperate servers.
Join the same channel on both servers.

I tried having mIRC auto-perform a /server -m when logging on to a server, but that sends it into an infinite loop or joining a server, launching a new server in a new window, launching a NEW server from the previous server logon in a new window, and so on.

If I have to do it from the command line, that's fine.
Thanks for any info.

Last edited by DeVante; 11/09/03 10:59 AM.
Joined: Mar 2003
Posts: 1,256
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Mar 2003
Posts: 1,256
Code:
on *:START: {
server server1
server -m server2
}


and /join #channel in your perform.

N
NewScripter
NewScripter
N
Or under your Setup, under Connect...Perform...Click 'Enable perform on connect' and then for every server you want to connect to put:

/server -m irc.server.com
/server -m irc.server2.org
etc...

Joined: Dec 2002
Posts: 3,015
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,015
That's not a good way of doing it...

You can end up in an infinite loop of connections if you don't do it properly.

Even if you do do it properly if you lose your connection to the first server and reconnect automatically you will open connectons to the other two servers even if you were already connected to them.

If the first server is down you won't get connected to the other two because Perform will never be performed.

D
DeVante
DeVante
D
NewScripter, you'll noticed I already tried that and got the infinite loop, just as Collective said.

Anyway, I entered that code into my script and it worked perfectly.

Thanks!


Link Copied to Clipboard