See my above edits, I screwed up at first. That is the current situation.

So I guess the major problems I'm having are that (a) I don't necessarily want to strip all color codes from the message, I only want to modify the #chatnames to be red. Everything else should be left alone.

Last edited by Go1den; 11/06/12 02:19 AM.