mIRC Home    About    Download    Register    News    Help

Print Thread
A
adamlol
adamlol
A
I've been an IRC user for a few years now but still haven't figured this out. I want to be able to open IRC and have it automatically open 2 separate windows, and join specific servers and channels in each window. I hear you can do this with commands in the auto-perform. For example if I want to connect 3 channels on irc.server.com and 2 channels on irc.server2.com, and each server have it's own window. If i had to guess it would be something like

(with enable perform on connect and connect on startup)

/connect irc.server2.com -j #channel1 -j #channel2 -j #channel3
/newserverwindow irc.server2.com -j #channel1 -j #channel2

or perhaps it's /connect -[newserverwindowperameter] irc.server2.com -j #channel1 -j #channel2

Either way, I have no idea how to do this and it would be very helpful to figure it out. Thanks in advance.

Last edited by adamlol; 07/02/08 05:51 PM.
Joined: Dec 2002
Posts: 1,996
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Dec 2002
Posts: 1,996

The /server command with the -m switch will create a new connection (window) and connect it to the specified server. Paste the following script into your remotes (alt+r > remotes tab) and change the server names and channel names to what you need, then restart mIRC.

Code:

on *:START: {
  server irc.server1.com -j #channel1,#channel2,#channel3
  server -m irc.server2.com -j #channel1,#channel2
}



~ Edit ~

-newserverwindowparameter is -m


A
adamlol
adamlol
A
Ok that worked perfectly thank you, however, how would I auth and set mode +x on each server, is that possible?

edit: nevermind, just have the auth and mode commands in perform and have perform on connect checked

Last edited by adamlol; 07/02/08 08:58 PM.
Joined: Dec 2002
Posts: 1,996
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Dec 2002
Posts: 1,996

Welcome smile


Link Copied to Clipboard