[Home] [Downloads] [Search] [Help/forum]

Gammon Forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  General
. . -> [Subject]  Profanity Filter
Home  |  Users  |  Search  |  FAQ
Register forum user name
Forgotten password?

Profanity Filter

It is now over 60 days since the last post. This thread is closed.     [Refresh] Refresh page

Posted by Neoshain   (38 posts)  [Biography] bio
Date Fri 24 Mar 2017 02:12 PM (UTC)
I've had a request for a profanity filter. I have the trigger matching on multiple words, and would like to make it so the Client just blacks out the word and leaves everything else the same.

It's been way too long since I've worked in Mushclient, so I'm not remembering much. Can someone point me in the right direction?
[Go to top] top

Posted by Fiendish   USA  (1,775 posts)  [Biography] bio   Global Moderator
Date Reply #1 on Fri 24 Mar 2017 10:07 PM (UTC)
If I've learned anything in life, it's that profanity filters never work and are almost certainly bad ideas.

On a practical implementation level, do you care about colors?

[Go to top] top

Posted by Nick Gammon   Australia  (21,677 posts)  [Biography] bio   Forum Administrator
Date Reply #2 on Tue 28 Mar 2017 04:52 AM (UTC)
To replace words in a line (or remove them, even) requires remembering their colours and retaining that - unless of course the MUD is entirely monochrome.

It won't be easy to get right, people can easily work around profanity filters by using stuff like "f---wit" which gets the meaning across fairly well.

Plus, some words like "cock" and "boob" have multiple meanings, not all of which are profane.

I'd also advise against simply blanking out the word, because you can have a sentence change meaning entirely if you leave words out of it. For example, if someone asks:


John asks, has anyone grouped with Peter?
Barbara replies, yes ... fuckwit

Now if you blank out the profanity it changes the meaning somewhat. At least replace the profanity with the usual sort of stuff like $^&%#$!@

What might be easier is to make some sort of "ignore" feature where you simply omit entirely lines from someone who swears a lot, and from whom you don't want to hear from again.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


It is now over 60 days since the last post. This thread is closed.     [Refresh] Refresh page

Go to topic:           Search the forum

[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( https://gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Hosted at FutureQuest]