Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Due to spam on this forum, all posts now need moderator approval.
Entire forum
➜ MUSHclient
➜ General
➜ Profanity Filter
It is now over 60 days since the last post. This thread is closed.
Refresh page
| Posted by
| Neoshain
(38 posts) Bio
|
| Date
| Fri 24 Mar 2017 02:12 PM (UTC) |
| Message
| 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? | | Top |
|
| Posted by
| Fiendish
USA (2,555 posts) Bio
Global Moderator |
| Date
| Reply #1 on Fri 24 Mar 2017 10:07 PM (UTC) |
| Message
| 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? |
https://github.com/fiendish/aardwolfclientpackage | | Top |
|
| Posted by
| Nick Gammon
Australia (23,173 posts) Bio
Forum Administrator |
| Date
| Reply #2 on Tue 28 Mar 2017 04:52 AM (UTC) |
| Message
| 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:
Quote:
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 | | 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.
14,462 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top