Bad Word Kicker

By Bullet_Dodger on Sep 26, 2008

Just a simple bad word kicker ;)

on *:TEXT:*:*:{
  if ($1- == fark || Wanker || Dickhead || Pussy || Asswipe || Prick || Cunt || Nigger || Nigga || Barstard || stfu || F(_)CK || Homo || Gay || Lesbo){ 
.mode $chan +b $nick
.mode $chan +b $+ $address($$1,5)
.kick $chan $nick $Nick Saying That Word is prohibited
 }
} 

Comments

Sign in to comment.
Jethro   -  Feb 08, 2010

Yeah Punk, I think he should have used BadwordHere iswm $1- But it's still not the best method as it can trigger within a word. There are also ways to go about a bad word script effectively.

 Respond  
PuNkTuReD   -  Feb 08, 2010

i still find it funny that he used
$1- == BADWORD_HERE
and noone had pointed out the fact that i could type

hi FUCKFACE

and get away with swearing!!!

excuse the language.

btw that !@#$ bla bla was an actual word,
damn hawkee and his censorship lmfso

 Respond  
PuNkTuReD   -  Feb 01, 2010

oh well regex gets me everytime, well done boys.

 Respond  
Jethro   -  Feb 01, 2010

Yes, Gummo's got me...lol And he's right. Using the positive lookahead in this case is a waste. I agree with his initial method. :-)

 Respond  
Gummo   -  Feb 01, 2010

He didn't make the k optional.
That would be f(ark|uck?)
He instead used a positive lookahead.

 Respond  
PuNkTuReD   -  Feb 01, 2010

cos some people might just write
fuc
??

 Respond  
Gummo   -  Feb 01, 2010

..but why would you waste space when you don't need to use the 'k' in another match?

 Respond  
Jethro   -  Jan 31, 2010

Or:

/f(uc|ar)(?=k)/iS
 Respond  
Gummo   -  Jan 31, 2010

Also, f(ark|uck) == f(ar|uc)k for future reference.

 Respond  
Ghost-writer   -  Jan 30, 2010

LMFAO, i just realised i did that :P, wow, halarioussss :) on $*:TEXT:/(F(ark|uck)|Bitch|ass|whore|OtherBadWordsInThisForm)/Si:#: :).

 Respond  
Gummo   -  Jan 30, 2010

Perhaps he simply doesn't understand regex and copy/pasted that after modifying it.

 Respond  
Jethro   -  Jan 29, 2010

Yeah napa, I think ghost-writer's got too much to chew.

ghost-writer, don't act childish please. It's true that you can use the on text regex to do the same thing, but why [.!@]? You don't treat regex as your personal distribution of which you copy and paste everything for your sheer enjoyment.

Plus your regex will require the .,! or @ affixes to the bad words to work.

 Respond  
Ange   -  Jan 29, 2010

napa182 dont worry, it's ok how you did. I've tried and that's all I need :-)
Probably next time I'll restrict the code only for no-ops/no-voices

 Respond  
napa182   -  Jan 29, 2010

@Ghost-writer wtf are you doing? why give people the wrong way to make the script for?

 Respond  
Ghost-writer   -  Jan 29, 2010

Wtf?!

on $@*:TEXT:/^[.!@](F(ark|uck)|Bitch|ass|whore|OtherBadWordsInThisForm)/Si:#: {
  ban -uk300 $nick Swear words are prohibited! $regml(1) 
}

I WIN.

 Respond  
Ange   -  Jan 29, 2010

Ah okay! thank you

 Respond  
napa182   -  Jan 29, 2010

@Ange no need for the 2 events as in ban and kick you can use

ban -ku60 # $nick 2 Vocabulario inadecuado
 Respond  
Ange   -  Jan 29, 2010

napa182 you resolved it to me. Thank you!!
I added ban on ip with 1mn timer. Error of line 2 resolved by using various lines. Final code on my script:

on @:TEXT::#:{
if ($regex($1-,/puta|cabron|marica)/) { ban -u60 $chan $nick 2 | kick $chan $nick Vocabulario inadecuado }
}

 Respond  
irchainscriptz   -  Oct 01, 2008

LOL I post and help, But for submitting a code na I keep them to myself or on my website LOL :)

 Respond  
Bullet_Dodger   -  Oct 01, 2008

Oh Irchainscriptz is that why you dont post anything?

 Respond  
irchainscriptz   -  Oct 01, 2008

Ok this is the thing i dont get, if a person ripps snippets why help? No logic to it!And as for deleting post or comments ..kinda childish dont you think? As Warchild stated you have to take critism and learn to deal with the good and the bad! if you dont want critism dont post anything ( Simple )

 Respond  
a careful warchild   -  Oct 01, 2008

bullet, i have read through the comments from some of the best scripters on hawkee, and i have noticed you can't take critism, as i have said on your previous ripped snippets, the reason for hawkee is to get comments/rates/likes and act on those. so when you go to delete a comment which could actually be helpful if not to you, but to others think again.

 Respond  
napa182   -  Sep 30, 2008

no need to put it twice cuz of the s

$regex($1-,/bad|word(s)?|here)/)
 Respond  
Bullet_Dodger   -  Sep 30, 2008

Note that 'black' is not a swear word. -.-

The First 'Black' is N,igger the second is N,iggers ... it changes them auto

 Respond  
Superior   -  Sep 30, 2008
.mode $chan +b $+ $address($$1,5)

"$+" Why? -- "$$1" Why?

 Respond  
Gummo   -  Sep 30, 2008

Ok, that explains it. Bullet_Dodger is to blame. :P

 Respond  
TwistedHumor   -  Sep 29, 2008

If you scroll up a little more, you will see that Superior posted the code that actually Bullet_Dodger posted, and he was only making the comment that the code wouldnt work like that.

 Respond  
guest598594   -  Sep 29, 2008

And you have black twice. Or Bullet did, idk.

 Respond  
Gummo   -  Sep 29, 2008

Bullet_Dodger: Note that 'black' is not a swear word. -.-

 Respond  
Bullet_Dodger   -  Sep 29, 2008

Lmao

 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.