badident kicker

By blitzz on Jun 15, 2009

Simple bad ident kicker. It will kick someone who have bad ident. At least 5mins banned before the ban auto removed.

To add badident just type (!badident@ iswm $fulladdress) || (!badident@ iswm $fulladdress).....

Make sure the || added before add the badident.

Actually not that hard to understand.

on @*:JOIN:#:{ 
  if (*!*sex*@* iswm $fulladdress) || (*!*porn*@* iswm $fulladdress) || (*!*horny*@* iswm $fulladdress) || (*!*fuck*@* iswm $fulladdress) || (*!*suck*@* iswm $fulladdress) || (*!*penis*@* iswm $fulladdress) {
    ban -ku302 $chan $nick 2 10Bad Identd Detected. 4Not Available 10Choose another one. Tq
  }
}

Comments

Sign in to comment.
buddy   -  Jun 18, 2009

Naahh

 Respond  
Automotive   -  Jun 18, 2009

Naahh. Nothing just kidding. Works well.

 Respond  
blitzz   -  Jun 17, 2009

@Automotive = This one useless.

Is this code not working to you Automotive?

 Respond  
Automotive   -  Jun 17, 2009

This one useless.

 Respond  
blitzz   -  Jun 16, 2009

Thanks guys. Someone in DALnet looking for something like bad ident so i made this.

 Respond  
napa182   -  Jun 16, 2009

lmfao yeah i grabed the wrong regex from my remotes lol that was a test regex so oops i guess thats what happens from being half blind from pepper spray =/

 Respond  
Jethro   -  Jun 16, 2009

Yes, WorldDMT, I found out before you did by two minutes.

 Respond  
WorldDMT   -  Jun 16, 2009

napa u mean $regex($fulladdress,...

 Respond  
Jethro   -  Jun 16, 2009

Napa182, it should be $fulladdress, not $1.

on !@*:JOIN:#: {
  if ($regex($fulladdress,/(sex|[pho]r[n]y?|[fs]uck|penis)/i)) {
    ban -ku302 # $nick 2 10Bad Identd Detected. 4Not Available 10Choose another one.
  }
}

The P word will not show as it's censored on forum commenting, but you get the idea.

 Respond  
napa182   -  Jun 15, 2009

nice .
you can also do it this way as well

on !@*:JOIN:#:{ 
  if ($regex($fulladdress,/(sex|[fs]uck)/i)) { ban -ku302 # $nick 2 10Bad Identd Detected. 4Not Available 10Choose another one.  } 
}

an so on only added 3 words as an ex:

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.