View Single Post
09-27-20, 03:10 PM
Join Date: Feb 2006
Originally Posted by
OK, great. Now this has brought me to another (I am sure basic) subject which I am confused about. How can an addon log/copy all the messages in a chat window? For example my addons display diagnostics like,
How can another addon read those messages? They are not SAY, not SYSTEM, not Channel anything.
I have even tried setprinthandler(newPrintHandler) did not do anything.
Have a look at something like WIM ( Wow Instant Messenger ) .. Not sure if it is up to date but I recall it keep ing a record of the chat windows. The DEFAULT_CHAT_FRAME I believe is the equivalent of ChatFrame1. I suspect what they do is make a copy of the message being received by the chat window and store it in a local table and then save that table out .. then when you log back in do the reverse to get it back into the window as if it was a new message.
Info Panel IDs :
Last edited by Xrystal : 09-27-20 at
View Public Profile
Send a private message to Xrystal
Find More Posts by Xrystal