mIRC Home    About    Download    Register    News    Help

Print Thread
on connect script #27375 01/06/03 06:47 AM
Joined: Jan 2003
Posts: 5
D
ds133 Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
D
Joined: Jan 2003
Posts: 5
Hi,

why doesnt this work just only on the server that i specified in the if-"question"?

on *:CONNECT:{
if (($server == Daisy.aFterWorkChat.com) OR ($server == irc.afterworkchat.com))
{
ns identify password
join chan
}
}

Re: on connect script #27376 01/06/03 06:58 AM
Joined: May 2003
Posts: 2
M
maximumlobster Offline
Bowl of petunias
Offline
Bowl of petunias
M
Joined: May 2003
Posts: 2
Use || instead of OR.

Re: on connect script #27377 01/06/03 08:01 AM
Joined: Jan 2003
Posts: 5
D
ds133 Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
D
Joined: Jan 2003
Posts: 5
* /if: ambiguous format (line 2, script1.mrc)

now..

Re: on connect script #27378 01/06/03 08:36 AM
Joined: Dec 2002
Posts: 774
T
theRat Offline
Hoopy frood
Offline
Hoopy frood
T
Joined: Dec 2002
Posts: 774
if ( ... ) {
...
}


Code:
//if ( khaled isgod ) echo yes | else echo no
Re: on connect script #27379 01/06/03 09:14 AM
Joined: Dec 2002
Posts: 339
F
FunChatter Offline
Fjord artisan
Offline
Fjord artisan
F
Joined: Dec 2002
Posts: 339
Code:
on *:CONNECT:{ if (($server == Daisy.aFterWorkChat.com) ||  ($server == irc.afterworkchat.com)) { ns identify password | join #ChannelName } }