mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Jul 2005
Posts: 3
W
wdd Offline OP
Self-satisified door
OP Offline
Self-satisified door
W
Joined: Jul 2005
Posts: 3
I'm trying to setup different mIRC remote connection sripts, so I can make one file for each network that connects to different channels.

I found some info on the net where I have it setup to:


on *:START: {
server irc.gamesurge.net -i nick nick1 me@privacy.net me -j #test1,#test2
}


That will connect me to the server and join the test channels, but that network I can also /msg nickserve and identify myself. The problem is, I don't know how to include that /msg into the remote script so I can be identified before joining a channel.

My next solution was to create another section that says:

on 1:connect:{
/msg nickserv identify me
/join #test1
/join #test2
}

but when I load 2 remote connections into 1 mIRC window, it will perform those joins in both networks...


Any Ideas on how to load multiple remote connection scripts to
1. /msg nickserve different passwords pending server you connect to
2. make it so those join commands will not join #test1 and #Test2 on both networks? (I want to join specific channels based upon which network I connect to...)


thanks.

A
Anonymous
Unregistered
Anonymous
Unregistered
A
use the "if" command

if ($server == irc.gamesurge.net) /msg nickserv blabla

Joined: Jul 2005
Posts: 3
W
wdd Offline OP
Self-satisified door
OP Offline
Self-satisified door
W
Joined: Jul 2005
Posts: 3
One issue I'm having.. when I connect to irc.gamesurge.com, it routes me to a sub server on the network. I tried to do something like:

if ($server == *.gamesurge.net) /msg nickserv blabla

but it seems that it didn't like the * as a wildcard. Any Ideas on how I would get that to work?

thanks

Joined: Jul 2004
Posts: 21
X
Ameglian cow
Offline
Ameglian cow
X
Joined: Jul 2004
Posts: 21
if (*.gamesurge.net iswm $server) /msg nickserv blabla

Joined: Dec 2002
Posts: 1,245
M
Hoopy frood
Offline
Hoopy frood
M
Joined: Dec 2002
Posts: 1,245
when you connect use $network
//echo -a $network in a channel and it should show gamesurge
or whatever the Network name is

Joined: Jul 2005
Posts: 3
W
wdd Offline OP
Self-satisified door
OP Offline
Self-satisified door
W
Joined: Jul 2005
Posts: 3
Thank you so much for your replies, I have them all working!! W000t !

Joined: Feb 2005
Posts: 15
X
Pikka bird
Offline
Pikka bird
X
Joined: Feb 2005
Posts: 15
ROFL, have something very similar :P

on *:CONNECT:{
if ($network == Winbots) {
ns identify ...
oper seperoth ...
j winbots
j Metroid
}
elseif ($network == Undernet) {
msg X@channels.undernet.org login SyntharuX ...
mode $me +x
join #phase
}
elseif ($network == HazeNET) {
msg Nickserv login Inaki ....
oper Inaki ...
join #hazenet
mode $me +x
msg H op
}
elseif ($network == HellsWinter) {
join #ircq
msg nickserv identify ...
msg hostserv on
}
else { halt }
}


Link Copied to Clipboard