I was able to perform a hooksecurefunc on the two functions, however it essentially just duplicates chat. Is there a way to remove the previous line of chat?
I know there's some sort of mechanism for this; when you report someone for language their chat lines are removed from your chat log. If I knew what function that was, perhaps I could call it during my AddMessage function and copy the blizzard version, remove the blizzard version, alter the blizzard version, and then put the altered version in the chat window. This should prevent tainting but also allow for the "skinning" of the chat strings.
|