mIRC Homepage
Posted By: dfarns How to return to same channels automatically - 07/03/10 07:02 AM
There are 5 different servers on 4 channels that I tune into regularly. Is there a way to set them to open automatically each time I start up mIRC?
This has been answered many times. Using search would get you a faster response...

Code:
on *:start:{
  server irc.server1.net
  server -m irc.server2.net
  server -m irc.server3.net
}


And so on. /help /server for information on how to join channels or set different nicks using the same line as you use to connect. Or just do a search... You'll find the answers easily enough.
Using search hasn't shown me the way to add specific channels to be opened automatically. Your script gives me the way to open certain servers/networks, but how would I add channels to the script?

Asking the question here is not always a matter of laziness, but an attempt to save an hour of possibly futile searching on the internet. If this is a common question, maybe a sticky would make it easier to find the answer.
Like I said, /help /server.

/server irc.network.net -i nick -j #channel,#channel,#channel
Posted By: Zed Re: How to return to same channels automatically - 09/03/10 12:49 AM
You have several possibilities.

You can specify channels to join in a /server command:
Code:
server -m irc.server2.net -j #chan1,#chan2,#chan3
server -m irc.server3.net -jn #chan1,#chan2,#chan3
The second line opens the channel windows minimized.

You can also add channels to the favorites list.

Clic the "Favorites" button.
Clic add ; you can add more than one channel of the same name in case the configuration is different from server to server (password, ...). Fill in channel name, check "Join on connect", select network(s) on which to autojoin. Hit OK.
(Note: fill "description" if you want to notice specific channels configurations in the list)
Thanks for the help, it's good for me to learn the use of scripts. BTW, I see that -m stands for minimize, and -j for join, but what does -jn do?

Originally Posted By: dfarns
Thanks for the help, it's good for me to learn the use of scripts. BTW, I see that -m stands for minimize, and -j for join, but what does -jn do?


See /help /join
Quote:
/join [-inx] <#channel>
This is a standard IRC command for joining a channel.

The -i switch makes you join the channel to which you were last invited.
The -n and -x switches minimize/maximize the channel window when you join it.

The -m switch is part of the /server command (also see the help file for that).
Right. -n is minimize, so -jn is join minimized. -m creates the new connection in a new window instead of the current window (m is for multiple connections).
© mIRC Discussion Forums