View Single Post
02-23-22, 08:56 PM   #1
miniminho
A Defias Bandit
Join Date: Feb 2022
Posts: 2
Lua sendchatmessage changes in 9.2 chat bubble window

Hello world! im having issues with icons since the release of 9.2...

here is my problem as soon as i add 2 icons ({rt1}) or i add something like GetUnitName("NPC")

it doubles up the text in the chat bubble BUT the chatwindows displays tetx correctly

here is what i mean

simple exemple:
local f = CreateFrame("Frame")

f:RegisterEvent("PLAYER_ENTERING_WORLD")
f:RegisterEvent("TRADE_CLOSED")
f:SetScript("OnEvent",function(self,event,msg)
if event=="TRADE_CLOSED" then
SendChatMessage(" {rt1} hi {rt1} ", "SAY", "Common")
end
end)
now this in chat window shows as: star hi star
but in the bubblechat it shows as {rt1} {rt1} star {rt1} star
what causes this and how to fix? this started happening after 9.2 release
  Reply With Quote