Thread Tools Display Modes
05-10-14, 02:40 PM   #1
ObbleYeah
A Cobalt Mageweaver
AddOn Author - Click to view addons
Join Date: Sep 2008
Posts: 210
style all strings in ChatFrame?

Essentially i'm just looking to put a bulletpoint in front of each chat frame message, like this:



styling channels is easy enough already thanks to the clarity of PhanxChat's code, but is there a simple(-ish?) way to do the same for all the other stuff that is fed through the chat frame like loot acquisition, status updates, emotes etc etc etc? Or is it just a case of me working through reformatting each separate event?

Last edited by ObbleYeah : 05-10-14 at 02:47 PM.
  Reply With Quote
05-10-14, 03:32 PM   #2
ObbleYeah
A Cobalt Mageweaver
AddOn Author - Click to view addons
Join Date: Sep 2008
Posts: 210
figured this out like a minute after posting of course

edit: for anyone interested:

Lua Code:
  1. local AddMessage = function(frame, message, ...)
  2.     if type(message) == "string" then
  3.        message = "• "..message
  4. end
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » style all strings in ChatFrame?

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off