Top

badnick kicker


mIRC Code
+ 0 likes
Please Register to submit score.
Bookmark and Share
Average Score  4.0 (of 1 scores)
Date Added  May 21, 2009
Last Updated  Jul 25, 2009
Tags  badnick  ban  kick 

Introduction

This is a simple badnick kicker. It will ban suspect at least 5mins before the ban auto removed.

Grab the Code

on *:join:#:{
  if *fuck* iswm $nick /ban -ku302 $chan $nick 3 Unallowed nick - Matched 10[fuck] 3Please change your nick before returning. Tq }
  if *sex* iswm $nick /ban -ku302 $chan $nick 3 Unallowed nick - Matched 10[sex] 3Please change your nick before returning. Tq }
  if *seks* iswm $nick /ban -ku302 $chan $nick 3 Unallowed nick - Matched 10[seks] 3Please change your nick before returning. Tq }
  if *suck* iswm $nick /ban -ku302 $chan $nick 3 Unallowed nick - Matched 10[suck] 3Please change your nick before returning. Tq }
  if *porn* iswm $nick /ban -ku302 $chan $nick 3 Unallowed nick - Matched 10[porn] 3Please change your nick before returning. Tq }
  if *horny* iswm $nick /ban -ku302 $chan $nick 3 Unallowed nick - Matched 10[horny] 3Please change your nick before returning. Tq }
  if *penis* iswm $nick /ban -ku302 $chan $nick 3 Unallowed nick - Matched 10[penis] 3Please change your nick before returning. Tq }
}

Comments

  (20)  RSS
andromeda
Comments: 26
 
mIRC Snippet:  badnick kicker
Posted on May 21, 2009 4:27 am
yeah nice i like simple code. but i why 2 many people hate badnick join their channel.

??????? /me wondering
Cheiron
Comments: 627
 
mIRC Snippet:  badnick kicker
Posted on May 21, 2009 4:31 am
one problem.. you may find nicks like Essex being banned due to the *sex* match
blitzz
Comments: 122
 
mIRC Snippet:  badnick kicker
Posted on May 21, 2009 4:42 am
Essex? owh in tht case, of course you can remove/change the word whatever you want..
Jethro_
Comments: 438
 
mIRC Snippet:  badnick kicker
Posted on May 21, 2009 5:05 am
Code:
on *:JOIN:#: {
  if $count($nick,fark,sex,seks,suck,porn,horny,p%&@#) {
    ban -ku302 $chan $nick Unallowed nick - Matched 10[seks] 3Please change your nick before returning.
  }
}

For some reason, the P word is censored.
Anyway, your script can be a lot shorter with only one if statement and it does the same thing.
WorldDMT
Comments: 171
 
mIRC Snippet:  badnick kicker
Posted on May 21, 2009 6:49 am
hi

the syntaxe not good

if ($v1 iswm $v2) cmd
or
if $v1 iswm $v2 { cmd }

and u have one "}" unless at end of code

u have to see if u are op chan

and u ban the nick only for 302 sec

u have to choice ban the nick always or ban the host temporary

here i'll ban the host for 302sec. when i add "2" before the $nick i'll get it

use if u want a regex

Code:
on @*:join:#:{
  if ($regex($nick,/(fark|sex|seks|suck|pron|horny|p%&@#)/i)) {
    ban -ku302 # $nick 2 Unallowed nick - Matched 10[ $regml(1) ] 3Please change your nick before returning. Tq
  }
}

Jethro_
Comments: 438
 
mIRC Snippet:  badnick kicker
Posted on May 21, 2009 2:02 pm
The 2 is optional, really. Without it, the mirc bans the whole nick!*user@host
andromeda
Comments: 26
 
mIRC Snippet:  badnick kicker
Posted on May 21, 2009 9:08 pm
i have been try it and it works nice. its only bans people who matched with da word. i'll give this 4. but use regex is more better. keep it up.
WorldDMT
Comments: 171
 
mIRC Snippet:  badnick kicker
Posted on May 22, 2009 3:12 am
Quote:
The 2 is optional, really. Without it, the mirc bans the whole nick!*user@host


i dont think that 2 is optional the 2 will ban host so *!*@host isnt same
andromeda
Comments: 26
 
mIRC Snippet:  badnick kicker
Posted on May 22, 2009 4:17 am
yup. maybe Jethro_ you need 2 test it before u comment it. WorldDMT you look good in regex maybe u can teach me a little about it. :P
blitzz
Comments: 122
 
mIRC Snippet:  badnick kicker
Posted on May 22, 2009 4:44 am
u have to see if u are op chan :
= nothing happen if u are not op chan

and u ban the nick only for 302 sec :
= you can change da time if u want
blitzz
Comments: 122
 
mIRC Snippet:  badnick kicker
Posted on May 22, 2009 4:50 am
thx @andromeda
Jethro_
Comments: 438
 
mIRC Snippet:  badnick kicker
Posted on May 22, 2009 5:08 am
Quote:
i dont think that 2 is optional the 2 will ban host so *!*@host isnt same

Yes, that is correct, but I think it bans type 6 without specifying the 2 if I'm not mistaken.
WorldDMT
Comments: 171
 
mIRC Snippet:  badnick kicker
Posted on May 22, 2009 5:44 am
"nothing happen if u are not op chan"

yes u'll have an error msg so put only "@" before level if u r not op the code wil not execute for nothing
blitzz
Comments: 122
 
mIRC Snippet:  badnick kicker
Posted on May 25, 2009 1:36 am
:)
SudsyUncle
Comments: 9
 
mIRC Snippet:  badnick kicker
Posted on May 25, 2009 11:48 am
Code:
$regex($nick,/(se(x|ks)|(s|f)uck|p(orn|enis)|horny)/i)
silent.nahid
Comments: 4
 
mIRC Snippet:  badnick kicker
Posted on Oct 12, 2009 2:40 am
errm...it's a nice script bt how do i kick the user by using chanserv?coz my channel is always set to +Q...so dat we have to kick by using chanserv..
Cheiron
Comments: 627
 
mIRC Snippet:  badnick kicker
Posted on Oct 12, 2009 4:55 am
kicking on chanserv is /cs kick #channel nick .. or /msg chanserv kick #channel nick
Jethro_
Comments: 438
 
mIRC Snippet:  badnick kicker
Posted on Oct 12, 2009 2:12 pm
Actually I don't see the effectiveness of this type of script. The reason being that there are countless bad nicks people will adapt to. Special characters can be used to form a bad nick. People are not stupid and will always find ways to get around things. If you're going to add every single one of them, it can be as daunting and time consuming, not to mention the trouble of converting special characters into ANSI. Of course, if you know a small number of bad nicks that people will definitely use, that's a different story.
sunslayer
Comments: 267
 
mIRC Snippet:  badnick kicker
Posted on Oct 12, 2009 3:10 pm
@jethro_
depends on the server your on but most networks don't allow the use of special characters in nicks with, the exception of a few like ` | - _

@silent.nahid
Code:
on *:join:#:{
  if *fark* iswm $nick cs ban $chan $nick Unallowed nick - Matched 10[fark] 3Please change your nick before returning. Tq
  if *sex* iswm $nick cs ban $chan $nick Unallowed nick - Matched 10[sex] 3Please change your nick before returning. Tq
  if *seks* iswm $nick cs ban $chan $nick Unallowed nick - Matched 10[seks] 3Please change your nick before returning. Tq
  if *suck* iswm $nick cs ban $chan $nick Unallowed nick - Matched 10[suck] 3Please change your nick before returning. Tq
  if *porn* iswm $nick cs ban $chan $nick Unallowed nick - Matched 10[porn] 3Please change your nick before returning. Tq
  if *horny* iswm $nick cs ban $chan $nick Unallowed nick - Matched 10[horny] 3Please change your nick before returning. Tq
  if *p%&@#* iswm $nick cs ban $chan $nick Unallowed nick - Matched 10[p%&@#] 3Please change your nick before returning. Tq
}
uses chanserv
Jethro_
Comments: 438
 
mIRC Snippet:  badnick kicker
Posted on Oct 12, 2009 4:32 pm
sunslayer, the point being that there are too many of bad nicks too count, and if you're to cover them all, it'll lead to Armageddon.

Commenting Options

Register or Login to Hawkee.com or use your Facebook or Twitter account by clicking the corresponding button below.

  
Bottom