mIRC Home    About    Download    Register    News    Help

Print Thread
N
Niss3
Niss3
N
Hi!

I'm active at both quakenet and utonet. The problem is
that's it's very much work with connection manually to
the secound server eatch time. And there after change
nick, auth etc.

Can someone help me set up my mIRC so I can make this
automatically? I wish to just press connect and get two
server connection with two different nicks joining different
channels on eatch server.

It shouldn't be impossible right?

L
LostShadow
LostShadow
L
on *:start:/server server1 | /server -m server2.

5
5618
5618
5
Code:
on *:START:{
  server irc.quakenet.net -i nick anick email realname
  server -m irc.utonet.org -i nick anick email realname
}
on *:CONNECT:{
  if ($network == QuakeNet) {
    join #chan1
    join #chan2
  }
  elseif ($network == UtoNet) {
    join #chan3
    join #chan4
  }
}

This could work. Make sure you check what $network should match. Just go to a window opened on one of the networks and type //echo -a $network and you'll see what you should match it to.

N
Niss3
Niss3
N
Thanks. This looks like it could work.
I'm just so newbie at this so I'm not
sure where I'm supposed to put this
code. Somewhere under remote scripts?

When I wrote //echo -a $network in quakenet
i got: QuakeNet
And in Utonet: UtoNet

So the code you wrote is all correct?
Then the only problem left is where to
put the code.

5
5618
5618
5
Yes, you put it in Remote (Alt+R). If there are already scripts present there, be careful where to put it. If so, it's probably easiest to create a new script file using File > New.

N
Niss3
Niss3
N
Okay. Thanks. All working great and exacly as I wished for.


Link Copied to Clipboard