mIRC Home    About    Download    Register    News    Help

Print Thread
"don't kick ppl who are opped" #145235 20/03/06 05:45 PM
Joined: Oct 2005
Posts: 126
PhyxiuS Offline OP
Vogon poet
OP Offline
Vogon poet
Joined: Oct 2005
Posts: 126
Hi, i have a masskick, but it kicks everyone, only ppl who are not opped has 2 be kicked. Can someone create this line for me init?
Code:
On *:Input:#: {
  if ($1 == !masskick) {
    if ($me isop $2) {
      var %x = $nick($2,0)
      while (%x) {
        if (($nick($2,%x) != $me) && ($nick($2,%x) !isop $2)) kick $2 $nick($2,%x) $3-
        dec %x
      }
    }
  }
}


If you mess with the best, u will die like the rest !
Re: "don't kick ppl who are opped" #145236 20/03/06 06:34 PM
Joined: Aug 2005
Posts: 525
S
schaefer31 Offline
Fjord artisan
Offline
Fjord artisan
S
Joined: Aug 2005
Posts: 525
if (($nick($2,%x) != $me) && ($nick($2,%x) !isop $2))

Change it to

if ($nick($2,%x) isreg $2 || ($nick($2,%x) isvoice $2 && $nick($2,%x) !isop $2)) kick $2 $nick($2,%x) $3-