mIRC Home    About    Download    Register    News    Help

Print Thread
#117508 16/04/05 05:13 PM
Joined: Jan 2005
Posts: 11
P
Pikka bird
OP Offline
Pikka bird
P
Joined: Jan 2005
Posts: 11
#######START#########
on *:start:{
.server -m beastie.totalirc.net:9005
.server -m irc.freequest.net
.server -m irc.after-all.org:6000
.server -m irc.totalirc.net
.server -m irc.undermind.net
}

on *:connect:{
if ($network == freequest) {
.nick Kokarda
.msg nickserv identify password
.join #
if ($network == After-All) {
.nick Kokarda
.msg nickserv identify password
.join #
.join #
.join #
if ($network == TotalIRC) {
.nick PunkDude
.msg nickserv identify password
.join #
.join #
if ($network == UnderMind) {
.nick Kokarda
.msg nickserv identify password
.vhost
.join #
}
}
#########END#########

Ok what am I doing wrong ? And btw I have censored name of the channels and passwords. Please help me.

Joined: Apr 2005
Posts: 1,009
Hoopy frood
Offline
Hoopy frood
Joined: Apr 2005
Posts: 1,009
try instead
IF
IF
IF

use ELSEIF


IceCapped
Joined: Jan 2005
Posts: 11
P
Pikka bird
OP Offline
Pikka bird
P
Joined: Jan 2005
Posts: 11
Quote:
try instead
IF
IF
IF

use ELSEIF


Doesn't work. It says:

/if: close bracket not found (line 11, script10.mrc)

confused

Joined: Apr 2005
Posts: 1,009
Hoopy frood
Offline
Hoopy frood
Joined: Apr 2005
Posts: 1,009
after each IF or ELSEIF you must close bracket after you open it

so copy/paste this

on *:start:{
.server -m beastie.totalirc.net:9005
.server -m irc.freequest.net
.server -m irc.after-all.org:6000
.server -m irc.totalirc.net
.server -m irc.undermind.net
}

on *:connect:{
if ($network == freequest) {
.nick Kokarda
.msg nickserv identify password
.join #
}
elseif ($network == After-All) {
.nick Kokarda
.msg nickserv identify password
.join #
.join #
.join #
}
elseif ($network == TotalIRC) {
.nick PunkDude
.msg nickserv identify password
.join #
.join #
}
elseif ($network == UnderMind) {
.nick Kokarda
.msg nickserv identify password
.vhost
.join #
}
}

Last edited by raZOR; 16/04/05 05:55 PM.

IceCapped
Joined: Nov 2003
Posts: 257
A
Fjord artisan
Offline
Fjord artisan
A
Joined: Nov 2003
Posts: 257
Just to add.... on the 2nd line you should have /server and not /server -m. This way you won't have an extra status window open with nothing it relates to.

Joined: Jan 2005
Posts: 11
P
Pikka bird
OP Offline
Pikka bird
P
Joined: Jan 2005
Posts: 11
Thanks so much for help. Everything works perfect.

cool


Link Copied to Clipboard