Colorless Runes

I've notice more and more people using the color codes in chat lately. It seems that the practice is set to become an epidemic. I'm particularly irritated by such randomness, and quite want to be rid of it.

To that end, this addon. Currently it searches incoming chat messages and strips them of all color codes, leaving only the default channel colors. Details and exceptions below. This is still beta functionality, if there are any rough edges please let me know. The error message in the image below indicates what the incoming text looked like prior to going colorless, those messages will not display in the distributed version.

http://img23.imageshack.us/img23/1281/colorlessx.jpg

What This Will Not Do:

  • This does not affect item link colors.
  • This should not affect other system-generated colors, for instance when a guild member leaves the guild. If you see any that are affected let me know.

Affected Channels:

  • Zone
  • Guild
  • Party
  • Whisper
  • World (I think, needs testing)
  • Say (filters color in chat box, but not the world view)

ToDos:

  • Options for
    Allow colors from friends
    Allow colors in each channel individually
    Allow color from a single name (raid leader)
    Add an indicator on filtered messages

Changes in V0.4
Added party channel to the filter
Fixed handling of multiple color messages

Changes in V0.2
Fixed pattern to catch hex values properly, thanks vEEcEE!
Fixed pattern to catch alpha channel values
Minor cleaning up

You must login to post a comment. Don't have an account? Register to get one!

  • 1 comment
  • Avatar of delve202 delve202 Thu, 13 Aug 2009 22:39:01

    note to self: The |H|h|c and trailing |h are case sensitive and required. Missing or incorrect case tokens will cause the codes not to work.

    Just another world addict with a relapse problem.

  • 1 comment

Facts

Date created
13 Aug 2009
Category
Last update
14 Aug 2009
Development stage
Release
Language
  • enUS
License
GNU General Public License version 3 (GPLv3)
Curse link
Colorless Runes
Recent files

Authors