Print in Chat Macro not working

Recently I noticed that any macro that should return output in my chat window stops posting anything there.

This includes as easy as:
/script print(IsQuestFlaggedCompleted(1952))

Or something from a wowhead quest guide:
/run local N,t,d={“DAL”,“ULD”,“AQ”,“DEEP”,“GNOMER”,“VAL”,“MAZE”,“MOUNT”},{47826,47837,47841,47850,47852,47863,47881,47885} for s,k in pairs(N)do d=IsQuestFlaggedCompleted(t[s]) print(k,"=",d and “\124cFF00FF00” or “\124cFFFF0000NOT”,“DONE”)end

I tried to grab a few macros from different sites to test, and the only one that appears working is:
/script DEFAULT_CHAT_FRAME:AddMessage(“CHATHERE”);

This happens to all my characters, I’ve tried to remove my WTF and Interface folders, and /resetchat, and still having this issue in default UI and chat window.

In the meanwhile, all action macros, /cast, /use, /stopattack, /castsequence, etc. work fine, no matter how complicated I stack them.

It’s driving me nuts now… Anyone has encountered similar issue before?

Need to prefix it with C_QuestLog. as of 9.0

/run local N,t,d={"DAL","ULD","AQ","DEEP","GNOMER","VAL","MAZE","MOUNT"},{47826,47837,47841,47850,47852,47863,47881,47885} for s,k in pairs(N)do d=C_QuestLog.IsQuestFlaggedCompleted(t[s]) print(k,"=",d and "\124cFF00FF00" or "\124cFFFF0000NOT","DONE")end
1 Like

Now both work, thank you so much!