mIRC Home    About    Download    Register    News    Help

Print Thread
#130948 23/09/05 09:57 PM
Joined: Sep 2005
Posts: 15
O
Pikka bird
OP Offline
Pikka bird
O
Joined: Sep 2005
Posts: 15
on *:op:#: {
if ($me isop $chan) {
if ($opnick == $me) || ( xL| iswm $opnick ) { halt }
else {
mode # -o $opnick
kick # $opnick
}
}
}

I want this with voice instead of OP's, helpme out, thnks.

#130949 23/09/05 10:02 PM
Joined: Mar 2005
Posts: 420
X
Fjord artisan
Offline
Fjord artisan
X
Joined: Mar 2005
Posts: 420
Code:
 on @*:voice:#: {
  if ($vnick != $me) || ( *xL|* !iswm $vnick ) { 
    mode # -v $vnick
    kick # $vnick
  }
} 


Is this what you meant?


If you have a plastic floor runner over your tiles, then you're one Hella Pinoy!
#130950 23/09/05 11:15 PM
Joined: Feb 2005
Posts: 681
M
Fjord artisan
Offline
Fjord artisan
M
Joined: Feb 2005
Posts: 681
Change your || to &&

#130951 23/09/05 11:33 PM
Joined: Mar 2005
Posts: 420
X
Fjord artisan
Offline
Fjord artisan
X
Joined: Mar 2005
Posts: 420
Maybe another person/bot is using a nick with "xL|" on it.


If you have a plastic floor runner over your tiles, then you're one Hella Pinoy!
#130952 24/09/05 02:25 AM
Joined: Jul 2003
Posts: 655
Fjord artisan
Offline
Fjord artisan
Joined: Jul 2003
Posts: 655
mIRCManiac is correct, && should be used. Otherwise if HE is voiced and HIS nick does not match *xL|* it will continue with the script, since only one comparison must return true for it to proceed.


"Allen is having a small problem and needs help adjusting his attitude" - Flutterby

Link Copied to Clipboard