|
Joined: Apr 2005
Posts: 30
Ameglian cow
|
OP
Ameglian cow
Joined: Apr 2005
Posts: 30 |
how do I get it so I connect to hellfire.redirectme.net and irc.gamesurge.net opening #pyro and #clansds under the HellFireIRC server and #b0red under the GameSurge server?
This is when mIRC.exe is opened or when I type /connect2servers
mIRC Newb.
|
|
|
|
Joined: Dec 2002
Posts: 3,547
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 3,547 |
On *:Start: {
connect2servers
}
alias connect2servers {
server hellfire.redirectme.net -j #Andy,#bob
server -m irc.gamesurge.net -j #b0red
}
|
|
|
|
Joined: Apr 2005
Posts: 30
Ameglian cow
|
OP
Ameglian cow
Joined: Apr 2005
Posts: 30 |
mIRC Newb.
|
|
|
|
Joined: Apr 2005
Posts: 30
Ameglian cow
|
OP
Ameglian cow
Joined: Apr 2005
Posts: 30 |
and how do I get the bot to say this in HellFireIRC: /nick Silence /msg nickserv identify [Removed] /msg chanserv identify #clansds [Removed] and this on GameSurge: /nick Forgotten` /msg AuthServ@Services.GameSurge.net Identify Forgotten` [Removed]
mIRC Newb.
|
|
|
|
Joined: Dec 2002
Posts: 3,547
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 3,547 |
* Andy disappears in a cloud of smoke back into the lamp.
|
|
|
|
Joined: Apr 2005
Posts: 30
Ameglian cow
|
OP
Ameglian cow
Joined: Apr 2005
Posts: 30 |
and how do I get the bot to say this in HellFireIRC: /nick Silence /msg nickserv identify [Removed] /msg chanserv identify #clansds [Removed] and this on GameSurge: /nick Forgotten` /msg AuthServ@Services.GameSurge.net Identify Forgotten` [Removed] did u read this?
mIRC Newb.
|
|
|
|
Joined: Dec 2002
Posts: 3,547
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 3,547 |
|
|
|
|
Joined: Apr 2005
Posts: 30
Ameglian cow
|
OP
Ameglian cow
Joined: Apr 2005
Posts: 30 |
mIRC Newb.
|
|
|
|
Joined: Dec 2002
Posts: 3,547
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 3,547 |
Well, the simplest way to do it would be to do something like this...
On *:Connect: {
if ($server == hellfire.redirectme.net) { do stuff }
if ($server == irc.gamesurge.net) { do stuff }
}
But I tried that but the server isn't hellfire.redirectme.net. it's hellfire.sask.ca.Hellfireirc.net. So I should imagine a simple iswm might sort that problem.
On *:Connect: {
if (*hellfire* iswm $server) { do stuff }
if (*gamesurge* iswm $server) { do stuff }
}
*Note: This is untested. All the best, -Andy.
|
|
|
|
Joined: Apr 2003
Posts: 701
Hoopy frood
|
Hoopy frood
Joined: Apr 2003
Posts: 701 |
On *:Connect: {
if ($network == Hellfireirc.net) { do stuff }
if ($network == GameSurge) { do stuff }
}
|
|
|
|
Joined: Apr 2005
Posts: 30
Ameglian cow
|
OP
Ameglian cow
Joined: Apr 2005
Posts: 30 |
well it works! thx Andy lol *tried the most practical way too I couldn't get itto work*
mIRC Newb.
|
|
|
|
Joined: Feb 2005
Posts: 194
Vogon poet
|
Vogon poet
Joined: Feb 2005
Posts: 194 |
Look in the feature suggestions forum and you will see the post about the -k switch. That is what would be needed to preform the command once you joined. Too bad it doesn't exist yet!
"God sometimes puts us in the dark for us to see the light"
|
|
|
|
Joined: Dec 2002
Posts: 3,547
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 3,547 |
Didn't think too much on checking the $network(), nice one.
|
|
|
|
|