mIRC Homepage
HI there,

I just want to ask, if there is a trick or a script, that makes possible that I can join some elected channels (#Coding, #php, #csharp, etc. but on different ircnets/servers) on connect - automatically?

Because I am joniging same channels every day.

I don't like it to click everytime first on Options => Server => New Window
after that need I to type /join Channelname.

Sometimes I disklike that procedure that way that I do not want to join more than 1 channel. Just because of remebering which channels there were and typing all time.. just to get there.

That could be a reason for me to decide myself for and buy mIRC.
At moment I using Xchat. (xchat also only knows /join instead /j :()

Is there a way - I hope - Thanks.


demonstration Video, sorry, poor quality
http://www.youtube.com/watch?v=j5RSvUW_R7o
One option is to use the Perform section.

mIRC Options (Alt + o) -> Connect -> Cptions -> Perform

Another option is to use a script
Code:
on *:connect:{
  if ($network == network1) {
    .join #Coding,#php,#csharp
  }
  elseif ($network == network2) {
    .join #Coding,#php
  }
}

This is just a sample code, you'll have to edit it for your specific network(s) and channel(s)

Also there's the -j switch for the /server command

See /help /server for details

... or tryout just to setup your "Favorites" in menu. You can set to join on connect and for which network.


WKN
Or use a script to do it all for you...

Code:
on *:start: {
  server irc.server1.net -j #chan1, #chan2, #chan3
  server -m irc.server2.net -j #chan1, #chan2, #chan3
  server -m irc.server3.net -j #chan1, #chan2, #chan3
}


Add/remove server lines and channels to join as needed.
Do not put spaces after the commas.
© mIRC Discussion Forums