mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Apr 2005
Posts: 30
Ameglian cow
OP Offline
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. smile
Joined: Dec 2002
Posts: 3,547
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
Code:
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 Offline
Ameglian cow
Joined: Apr 2005
Posts: 30
Poof and here he is


mIRC Newb. smile
Joined: Apr 2005
Posts: 30
Ameglian cow
OP Offline
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. smile
Joined: Dec 2002
Posts: 3,547
S
Hoopy frood
Offline
Hoopy frood
S
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 Offline
Ameglian cow
Joined: Apr 2005
Posts: 30
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?


mIRC Newb. smile
Joined: Dec 2002
Posts: 3,547
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
No.

Joined: Apr 2005
Posts: 30
Ameglian cow
OP Offline
Ameglian cow
Joined: Apr 2005
Posts: 30
help pls?


mIRC Newb. smile
Joined: Dec 2002
Posts: 3,547
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
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.

Joined: Apr 2003
Posts: 701
K
Hoopy frood
Offline
Hoopy frood
K
Joined: Apr 2003
Posts: 701
Code:
On *:Connect: {
  if ($network == Hellfireirc.net) { do stuff }
  if ($network == GameSurge) { do stuff }
}

Joined: Apr 2005
Posts: 30
Ameglian cow
OP Offline
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. smile
Joined: Feb 2005
Posts: 194
A
Vogon poet
Offline
Vogon poet
A
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! wink


"God sometimes puts us in the dark for us to see the light"
Joined: Dec 2002
Posts: 3,547
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
Didn't think too much on checking the $network(), nice one. smile


Link Copied to Clipboard