I have some weakauras triger code:
if aura_env.config["ChatFrame"] then
local i=1
while _G["ChatFrame"..i] do
_G["ChatFrame"..i]:AddMessage("ChatFrame idx="..i)
i=i+1
end
end
This code doesn't work properly. BugSack says "attempt to call method 'AddMessage' (a nil value)".
For test I create a new aura and add simple code:
DEFAULT_CHAT_FRAME:AddMessage('123')
and weakauras report "WeakAuras: Warning for unknown aura: Forbidden function or table: DEFAULT CHAT FRAME"
So what am I doing wrong?