mIRC Homepage
Posted By: Forgotten00 Connect to multiple servers? - 01/05/05 03:33 AM
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
Posted By: SladeKraven Re: Connect to multiple servers? - 01/05/05 04:24 AM
Code:
On *:Start: {
  connect2servers
}

alias connect2servers {
  server hellfire.redirectme.net -j #Andy,#bob
  server -m irc.gamesurge.net -j #b0red
}
Posted By: Forgotten00 Re: Connect to multiple servers? - 01/05/05 04:31 AM
Poof and here he is
Posted By: Forgotten00 Re: Connect to multiple servers? - 01/05/05 04:37 AM
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]
Posted By: SladeKraven Re: Connect to multiple servers? - 01/05/05 04:38 AM
* Andy disappears in a cloud of smoke back into the lamp.
Posted By: Forgotten00 Re: Connect to multiple servers? - 01/05/05 04:50 AM
Quote:
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?
Posted By: SladeKraven Re: Connect to multiple servers? - 01/05/05 05:27 AM
No.
Posted By: Forgotten00 Re: Connect to multiple servers? - 01/05/05 05:37 AM
help pls?
Posted By: SladeKraven Re: Connect to multiple servers? - 01/05/05 05:49 AM
Well, the simplest way to do it would be to do something like this...

Code:
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.

Code:
On *:Connect: {
  if (*hellfire* iswm $server) { do stuff }
  if (*gamesurge* iswm $server) { do stuff }
}


*Note: This is untested.

All the best,

-Andy.
Posted By: Kelder Re: Connect to multiple servers? - 01/05/05 09:26 AM
Code:
On *:Connect: {
  if ($network == Hellfireirc.net) { do stuff }
  if ($network == GameSurge) { do stuff }
}
Posted By: Forgotten00 Re: Connect to multiple servers? - 01/05/05 02:59 PM
well it works! thx Andy lol *tried the most practical way too I couldn't get itto work*
Posted By: alhammer Re: Connect to multiple servers? - 01/05/05 04:12 PM
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! wink
Posted By: SladeKraven Re: Connect to multiple servers? - 01/05/05 11:49 PM
Didn't think too much on checking the $network(), nice one. smile
© mIRC Discussion Forums