Thread: Swear filter in a chat room.

  1. #1
    It's full of stars adrianxw's Avatar
    Join Date
    Aug 2001

    Swear filter in a chat room.

    Anyone know how to establish a swear filter in an IRC chatroom?

    Another site I use had a very nice chatroom with a friendly group of regulars, over the last few days we have been plagued with intruders making life impossible to the extent the chat room has been closed pending a fix.

    Our admin reckons a simple word filter would suffice.

    Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.

  2. #2
    Registered User
    Join Date
    Sep 2002
    Well you could ban any users who swear in the irc channel... Other than that you can either set the ircd to censor those bad words or write a irc client that censors incoming messages.

  3. #3
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    The edge of the known universe
    Most of the major IRC clients have scripting facilities, and there are plenty of examples of protection scripts which include bad word lists.

    All you need is a few regulars in the channel running those, and you should be pretty well set.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  4. #4
    People find ways around it. Face it, you've been plagued. I would just find a new place to chat and tell your friends there to go to it. If you censor out language, people will do crap like make an at sign and two dollar signs, or maybe use 1337-talk to swear. If you block IP addresses, people will easily think of a million ways to get around it just to spite you. These people are annoying and idiotic, and face it: you are on the internet. These idiots are why all of the internet backbones are all bogged up.

  5. #5
    Wen Resu
    Join Date
    May 2003
    we need idiot filters , ahhthen life would be better
    Wait its the Information Superhighway right? how about a competency test to drive here!

  6. #6
    Registered User Xei's Avatar
    Join Date
    May 2002
    If I were you I would go to, get a name there and forward it to an IRC server that you can keep running all day(either yourself or other members could run this server). Then you can use the server to filter words, ban members who use them continuously, and maybe you'll have to cut off a few ISP's if the little bastards keep it up. Anyways, good luck with that. (I wonder if you could make a script that would get their MAC Address's then you could ban them that way). Maybe you could make users go through some sort of registration process.
    Last edited by Xei; 10-27-2003 at 07:45 PM.
    "What are you after - the vague post of the week award?" - Salem
    IPv6 Ready.
    Travel the world, meet interesting people...kill them.
    Trying to fix or change something, only guaruntees and perpetuates its existence.
    I don't know about angels, but it is fear that gives men wings.
    The problem with wanting something is the fear of losing it, or never having it. The thought makes you weak.

    E-Mail Xei

  7. #7
    Pursuing knowledge confuted's Avatar
    Join Date
    Jun 2002
    Eh, if you have a router you can change your MAC address anyway Xei.

    From my router config:

  8. #8
    Registered User
    Join Date
    Oct 2003
    Being Stalinist, it's possible to do it fairly effectively. Just bind @ to a, $ to s, and so on. C&C Generals does exactly this, and so 4$$ is turned into ***.

  9. #9
    King of the Internet Fahrenheit's Avatar
    Join Date
    Oct 2001
    Then you will have people who put spaces in between the letters so it is still noticable as a cussword. You can't strip spaces, or words like assassin would be filtered for no reason.

  10. #10
    Registered User
    Join Date
    Oct 2003
    It's obviously debatable whether this is actually a good step to take -- occasionally, "bad" language is merited. I'd imagine that it's not the language itself that you object to; more the absence of anything smart to say. If so, moderation will be more effective.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Chat room with file transfer
    By pie in forum C Programming
    Replies: 2
    Last Post: 11-08-2005, 04:35 PM
  2. Need some help with my chat room code !!
    By beaditya in forum C Programming
    Replies: 2
    Last Post: 09-10-2005, 04:37 PM
  3. C Chat Room
    By bnovc in forum C Programming
    Replies: 3
    Last Post: 06-26-2005, 08:42 PM
  4. Chat room software.
    By adrianxw in forum Tech Board
    Replies: 4
    Last Post: 01-14-2004, 07:59 PM
  5. programming chat room
    By iain in forum A Brief History of
    Replies: 0
    Last Post: 08-18-2001, 06:50 AM