mIRC Home    About    Download    Register    News    Help

Print Thread
#63665 11/12/03 07:15 AM
Joined: Oct 2003
Posts: 306
J
Fjord artisan
OP Offline
Fjord artisan
J
Joined: Oct 2003
Posts: 306
on 1:connect: {

if $server == %server2 {
.configboot

if $nick == Samurai goto Clave


:clave

.msg nickserv identify %pasword | .oper samurai %claveoper


}

}

its ok ?

any ideas



mess with the best
#63666 11/12/03 07:25 AM
Joined: Jan 2003
Posts: 3,012
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2003
Posts: 3,012
I have an idea.. An if pointing to a label directly below it is pointless. Thats like having..

..bleh..
goto end
:end
..bleh..

on *:CONNECT: {
if ($server == %server 2) {
.configbot
if ($me == Samurai) {
/msg $nickserv identify %password
/oper $me %clav %claveoper
}
}

I also assumed that by $nick, you means yourself, thus I used $me, not $nick.


-KingTomato

Link Copied to Clipboard