Jump to content

Double IP kicker


Convirion

Recommended Posts

on *:SIGNAL:mta.join:{
 var %a = 0
   while (%a <= $mta.server($1).cmax) {
     if(%a != $2) {
       if ($mta.ip($1,%a) == $mta.ip($1,$2)) {
         mta.text $1 $mta.nick($1,$2) $+ 's IP matches $mta.nick($1,%a) $+ 's so he will be kicked.
         mta.kick $1 $2
       }
     }
   !inc %a
 }
}

Link to comment

on *:SIGNAL:mta.join:{
 var %a = 0
 while (%a <= $mta.server($1).cmax) {
   if (%a != $2) {
     if ($mta.ip($1,%a) == $mta.ip($1,$2)) {
       mta.text $1 $mta.nick($1,$2) $+ 's IP matches $mta.nick($1,%a) $+ 's so he will be kicked.
       mta.kick $1 $2
       !halt
     }
   }
   !inc %a
 }
}

if this one doesnt work i believe u're doing something wrong

Link to comment
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...