mIRC Home    About    Download    Register    News    Help

Print Thread
F
Forgotten00
Forgotten00
F
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

Joined: Dec 2002
Posts: 3,534
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,534
Code:
On *:Start: {
  connect2servers
}

alias connect2servers {
  server hellfire.redirectme.net -j #Andy,#bob
  server -m irc.gamesurge.net -j #b0red
}

F
Forgotten00
Forgotten00
F
Poof and here he is

F
Forgotten00
Forgotten00
F
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]

Joined: Dec 2002
Posts: 3,534
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,534
* Andy disappears in a cloud of smoke back into the lamp.

F
Forgotten00
Forgotten00
F
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?

Joined: Dec 2002
Posts: 3,534
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,534
No.

F
Forgotten00
Forgotten00
F
help pls?

Joined: Dec 2002
Posts: 3,534
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,534
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 }
}

F
Forgotten00
Forgotten00
F
well it works! thx Andy lol *tried the most practical way too I couldn't get itto work*

Joined: Feb 2005
Posts: 193
A
Vogon poet
Offline
Vogon poet
A
Joined: Feb 2005
Posts: 193
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

Joined: Dec 2002
Posts: 3,534
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,534
Didn't think too much on checking the $network(), nice one. smile


Link Copied to Clipboard