mIRC Home    About    Download    Register    News    Help

Print Thread
#74378 07/03/04 09:34 PM
C
CRAZYGUY
CRAZYGUY
C
iam trying to make it so no one under 200 can access this, I have tryed a few diffrent things but they didnt work!

on ^200:TEXT:^showcommands:#:{
/notice $nick level 0 12][11 Showcommands 12][11 Credits 12][11 Whois 12][ 11uptime 12][ 11register 12][
/notice $nick 12][ 11copyright 12][ 11seen 12][
/notice $nick level 200 12][11 hop 12][11 dehop 12][
/msg #H.info $nick used 11"12showcommands11" at 12 $time on 11 $server in $chan
}
If you could hlep me that would be great thankz

#74379 07/03/04 09:41 PM
Joined: Nov 2003
Posts: 2,321
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Nov 2003
Posts: 2,321
it depends how you store your users in the userlist, you could use something like this if you just store nicks:

Code:
on *:text:*:?:{
if $level($nick) >= 200 { dostuff }
}

#74380 07/03/04 10:04 PM
C
CRAZYGUY
CRAZYGUY
C
well i tryed that but it does not work still..
confused

#74381 07/03/04 10:05 PM
Joined: Nov 2003
Posts: 2,321
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Nov 2003
Posts: 2,321
how do you store users in the userlist?

$nick
$address($nick,N)
etc

#74382 07/03/04 10:06 PM
C
CRAZYGUY
CRAZYGUY
C
yesd i store them in the userlist I use ther nick

Last edited by CRAZYGUY; 07/03/04 10:07 PM.

Link Copied to Clipboard