mIRC Home    About    Download    Register    News    Help

Print Thread
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 !
Joined: Aug 2005
Posts: 525
S
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-


Link Copied to Clipboard