mIRC Home    About    Download    Register    News    Help

Print Thread
#101439 24/10/04 02:15 PM
I
int
int
I
My script thinks that whenever l is on, L is also on (both channel modes). It's acting as though it doesn't accept case sensitivity, which it does ten lines above where it recognizes whether or not M is enabled or m is enabled. It's just something with l and L, and I can't figure it out.


#101440 24/10/04 02:37 PM
Joined: Jan 2003
Posts: 2,125
Q
Hoopy frood
Offline
Hoopy frood
Q
Joined: Jan 2003
Posts: 2,125
And? If you expect any sort of reply, you should at least post the part of the script that has the problem.

#101441 24/10/04 03:35 PM
I
int
int
I
Quote:


Identifier:
modechk return $iif($1 isin $chan(#).mode,-,+) $+ $1

Remote (popup):
..$iif(l isin $chan(#).mode,$style(1)) Set User Limit $chr(9) $modechk(l):{
if (l isin $chan(#).mode) mode # -l $chan(#).limit
elseif ($input(Enter a user limit for # ,1,User Limit)) mode # +l $ifmatch
}

..$iif(L isin $chan(#).mode,$style(1)) Set Link $chr(9) $modechk(L):{
if (L isin $chan(#).mode) mode # -L $chan(#).L
elseif ($input(Enter a channel for # to link to,1,Channel to Link)) mode # +L $ifmatch
}



#101442 24/10/04 04:18 PM
Joined: Nov 2003
Posts: 2,321
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Nov 2003
Posts: 2,321
Use isincs instead of isin.

#101443 24/10/04 04:37 PM
I
int
int
I
Success! Thanks.


Link Copied to Clipboard