mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Jan 2008
Posts: 3
N
Niss3 Offline OP
Self-satisified door
OP Offline
Self-satisified door
N
Joined: Jan 2008
Posts: 3
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?

Joined: Jan 2004
Posts: 509
L
Fjord artisan
Offline
Fjord artisan
L
Joined: Jan 2004
Posts: 509
on *:start:/server server1 | /server -m server2.

Joined: Jun 2007
Posts: 933
5
Hoopy frood
Offline
Hoopy frood
5
Joined: Jun 2007
Posts: 933
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.

Joined: Jan 2008
Posts: 3
N
Niss3 Offline OP
Self-satisified door
OP Offline
Self-satisified door
N
Joined: Jan 2008
Posts: 3
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.

Joined: Jun 2007
Posts: 933
5
Hoopy frood
Offline
Hoopy frood
5
Joined: Jun 2007
Posts: 933
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.

Joined: Jan 2008
Posts: 3
N
Niss3 Offline OP
Self-satisified door
OP Offline
Self-satisified door
N
Joined: Jan 2008
Posts: 3
Okay. Thanks. All working great and exacly as I wished for.


Link Copied to Clipboard