Quantcast WoWInterface - View Single Post - need help with some LUA-Texts
View Single Post
10-01-19, 05:05 AM   #2
PoliteKiwi
A Defias Bandit
AddOn Author - Click to view addons
Join Date: Oct 2019
Posts: 2
It is entirely more difficult than you think. If you can't diy, then the end product is just going to be all someone else's work (judging by how you called it LUA and not Lua).

You can color text by encasing it with a color code...

"|cAARRGGBBTextHere|r"

This string reads, color RR GG BB AA (in hex) 'TextHere' then return to previous color (usually white aka |cFFFFFFFF). In most cases, your AA (alpha) will be FF.

So you can wrap pretty much any output text in the script with |c...|r and it should color correctly. That is unless they have it colored already and use string.format... then it's slightly more difficult for a newbie.
  Reply With Quote