Thread Tools Display Modes
Prev Previous Post   Next Post Next
07-26-09, 05:07 AM   #1
Hat
A Defias Bandit
Join Date: Apr 2006
Posts: 2
Making prettier chat messages

My guild uses its own points system to allocate loot, and I'm in the process of writing a web-based system to manage it. One of the features of that system is going to be an addon in-game to report the number of points someone has when they roll. I have a couple of questions about this:

1) Is there a way to gag or append to a chat message that's coming in? I can use CHAT_MSG_SYSTEM and DEFAULT_CHAT_FRAME:AddMessage() to add another line, but I'd really like it to say "Joe rolls 15 (1-100) (15 points)" to save some space.

2) Is there a way to set the chat colour for individual parts of a message? It'd be nice if I could colour, say, the points value differently to the rest of the text.

Thanks in advance for your help
  Reply With Quote
 

WoWInterface » Developer Discussions » Lua/XML Help » Making prettier chat messages

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