Thread Tools Display Modes
Prev Previous Post   Next Post Next
02-06-24, 02:45 AM   #1
atshn
A Deviate Faerie Dragon
Join Date: Feb 2024
Posts: 19
Changing the color of print(message)?

Is it possible to change the color of the message printed? I'd prefer yellow over the default white.

Code:
local function OnEvent(self, event, errorType, message, lineID)
	if errorType == 298 then
		print(message)C_Timer.After(5,function()SELECTED_CHAT_FRAME:Clear()end)
	end
end
  Reply With Quote
 

WoWInterface » AddOns, Compilations, Macros » AddOn Help/Support » Changing the color of print(message)?


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