mIRC Home    About    Download    Register    News    Help

Print Thread
#85397 05/06/04 12:56 AM
Joined: Oct 2003
Posts: 306
J
Fjord artisan
OP Offline
Fjord artisan
J
Joined: Oct 2003
Posts: 306
on *:join:#Daniel: {
if ($ulevel == 300) { mode # +b $nick | .kick # $Nick (canal Prohibido)}
elseif ($ulevel == 99) { echo -a aufvidersen | .echo -a bienvenido }}
}
}

any one tell me how is wrong?


mess with the best
#85398 05/06/04 01:01 AM
Joined: Dec 2002
Posts: 1,541
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Dec 2002
Posts: 1,541
Try this:

on *:join:#Daniel: {
if ($ulevel == 300) { mode # +b $nick | .kick # $Nick (canal Prohibido) }
elseif ($ulevel == 99) { echo -a aufvidersen | .echo -a bienvenido }
}

Notice all the extra }'s have been removed and spaces have been applied where needed


Those who fail history are doomed to repeat it
#85399 05/06/04 01:03 AM
Joined: Feb 2004
Posts: 714
Z
Hoopy frood
Offline
Hoopy frood
Z
Joined: Feb 2004
Posts: 714
You need to make sure that those ppl are in your userlist. E.g.:

300:*!*@John.com
99:*!*itsme@Mary.com
100:*!*hi@Paula.com

and so on. That scriopt will only match the ppl that are in the Userlist, so, if John is connecting from Matt's place (*!*@Matt.com) it will not work.
Another way is to block nicks, but that isnt very accurate, since the person can just change nicks.

To add a user: /auser <level> <mask> [info]

Edit: Also landonsandor has a point smile You're missing some spaces.

Hope this can help!
Zyzzy smile

Last edited by Zyzzyx26; 05/06/04 01:05 AM.

"All we are saying is give peace a chance" -- John Lennon

Link Copied to Clipboard