WoWInterface - View Single Post - About add-ons optimization
View Single Post
01-17-18, 07:55 PM   #68
Fishing Trainer
Seerah's Avatar
WoWInterface Super Mod
Join Date: Oct 2006
Posts: 10,745
Originally Posted by Resike View Post
Why would you do that instead of creating a custom function/hook for yourself only?
For example...

A chat addon that alters/adds to messages before printing them in the chat frame. You have to catch the string first, edit the it, then continue to pass it through the frame's AddMessage method.

This is how addons add links to things (quests, etc.) in your chat frame. Add time stamps. Color names by class. Filter unwanted messages.
"You'd be surprised how many people violate this simple principle every day of their lives and try to fit square pegs into round holes, ignoring the clear reality that Things Are As They Are." -Benjamin Hoff, The Tao of Pooh

  Reply With Quote