Block Bad-Words

By PoiXon on Feb 20, 2005

Just a very simple thing that whne someone says a bad-word it replaces it with a -blocked- just put it in remotes(Alt+r) and then it works =p

on ^*:text:*:#: {
  if (shit isin $1-) || (gay isin $1-) || (bollocks isin $1-) || (fucking isin $1-) || (fuck isin $1-) || (crap isin $1-) || (twat isin $1-) || (cunt isin $1-) {
    .echo $chan < $+ $nick $+ > $replace($1-,shit,-blocked-,gay,-blocked-,bollocks,-blocked-,fucking,-blocked-,fuck,-blocked,crap,-blocked-,twat,-blocked-,cunt,-blocked-)
    haltdef
  }
}

Comments

Sign in to comment.
Yoinx   -  Feb 22, 2005

yeah, It was just meant as a side note for people on unreal that wanted something like this. Just a sort of FYI, not many servers support the same things unreal does (makes it cpu intensive).

 Respond  
PoiXon   -  Feb 22, 2005

oh i dont know about that. my server dont have it so i just made this =p

 Respond  
Yoinx   -  Feb 22, 2005

Good job poixon. Looks good. As a side note anyone using unreal ircd (maybe others) should be able to set channel mode +G and have something similar done by the server so that anyone in the channel gets it.

 Respond  
undertaker11   -  Feb 21, 2005

this is -block-ing great :D

 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.