Kjasi
20-06-2006, 09:47 PM
For a mod I'm working on, I need to remove a message from a chat window.
I've already hooked the message, so I have it as a string. I just need to know how to prevent it from showing up in the chat window, so I can replace it with what I'm outputing. (Is there a DEFAULT_CHAT_WINDOW:ReplaceMessage command or something?)
I've already checked out the API commands on wowwiki.com, and the closest I've been able to find is the RemoveChatWindowMessages() function, (http://www.wowwiki.com/API_RemoveChatWindowMessages) which I had to write some of the page for, but I don't know what to put for "messageGroup". I've tried a lot of things, and none of them have worked, so I'm hoping someone here knows what to do.
I'm perfectly fine with using something else too! I just need to stop the message from being said in the chat window!
Thanks in advance!
I've already hooked the message, so I have it as a string. I just need to know how to prevent it from showing up in the chat window, so I can replace it with what I'm outputing. (Is there a DEFAULT_CHAT_WINDOW:ReplaceMessage command or something?)
I've already checked out the API commands on wowwiki.com, and the closest I've been able to find is the RemoveChatWindowMessages() function, (http://www.wowwiki.com/API_RemoveChatWindowMessages) which I had to write some of the page for, but I don't know what to put for "messageGroup". I've tried a lot of things, and none of them have worked, so I'm hoping someone here knows what to do.
I'm perfectly fine with using something else too! I just need to stop the message from being said in the chat window!
Thanks in advance!