mIRC Home    About    Download    Register    News    Help

Print Thread
Connection scripts - need help..... #55387 16/10/03 11:10 PM
Joined: Oct 2003
Posts: 1
G
gegzy Offline OP
Mostly harmless
OP Offline
Mostly harmless
G
Joined: Oct 2003
Posts: 1
Right, i'm not sure whether i can do this....but - i'm sure you'll be able to tell me smile

I currently have an alias called "/joinchans" which uses the $cid to join the relevant channels for my multi-server set-up.

However, I have to manually go in and connect to the other servers i use once i've connected.

Is it possible to join my other servers on startup of mirc without my manual intervention?

-- Gegzy

Re: Connection scripts - need help..... #55388 17/10/03 03:04 AM
Joined: Sep 2003
Posts: 7
S
Sahasrahla Offline
Nutrimatic drinks dispenser
Offline
Nutrimatic drinks dispenser
S
Joined: Sep 2003
Posts: 7
What I've done is this:
Set Network1 to automatically connect on startup.

in Network1's "Perform" list, add "/server -m Network2"

and so on, so each time it connects to one server it will link to the next.


I have run into a problem which I'm still working on though: IF you get disconnected from Network1 and it auto-reconnects, it will start the chain reaction again and you'll get double server windows for everything... probably just a simple if() statement will fix it though.

Re: Connection scripts - need help..... #55389 17/10/03 05:25 AM
Joined: Aug 2003
Posts: 1,831
I
Iori Offline
Hoopy frood
Offline
Hoopy frood
I
Joined: Aug 2003
Posts: 1,831

Re: Connection scripts - need help..... #55390 17/10/03 10:30 AM
Joined: Dec 2002
Posts: 4
V
vrenak Offline
Self-satisified door
Offline
Self-satisified door
V
Joined: Dec 2002
Posts: 4
i automatically join 5 networks myself what i did was put this in the remotes:
on *:start:{
s <network1>
s -m <network2>
s -m <network3>
s -m <network4>
s -m <network5>
}

u can addend them with -j <channel> of course if you wish or use the | as line separator and have it all on one line

Re: Connection scripts - need help..... #55391 17/10/03 10:47 AM
Joined: Oct 2003
Posts: 30
pleur Offline
Ameglian cow
Offline
Ameglian cow
Joined: Oct 2003
Posts: 30
i use this:

on *:START:{
vol -w 54564
.nick Guest8525696
server -m irc.server2.org 911
server irc.server1.org 666
}

on *:CONNECT: {
if ($network == server1) {
If (!$chan(#channel1).status) { join #channe1 }
}
Elseif ($network == server2) {
.msg SERVERBOT #channel2 LOGIN $nick.norm $$?*="Give pass please"
.nick $nick.norm
If (!$chan(#channel2).status) { join #channel2 }
}
}

in this way you can connect to multiple servers, with or without login, joining a channel for a specified server

Hope this helps a bit for ya

Last edited by pleur; 17/10/03 10:48 AM.

------
Cheers m8!