Thread Tools Display Modes
Prev Previous Post   Next Post Next
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
 

WoWInterface » Developer Discussions » Lua/XML Help » Lua sendchatmessage changes in 9.2 chat bubble window


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