Tried both the following scripts/macros and neither of them work.
/script print(IsQuestFlaggedCompleted(XXXXX))
/run print(IsQuestFlaggedCompleted(XXXXX))
Getting the following error:
1x [string “print(IsQuestFlaggedCompleted(44311))”]:1: attempt to call global ‘IsQuestFlaggedCompleted’ (a nil value)
[string “print(IsQuestFlaggedCompleted(44311))”]:1: in main chunk
[string “=[C]”]: in function RunScript' [string "@FrameXML\ChatFrame.lua"]:2174: in function
?’
[string “@FrameXML\ChatFrame.lua”]:5073: in function ChatEdit_ParseText' [string "@FrameXML\ChatFrame.lua"]:4737: in function
ChatEdit_SendText’
[string “@FrameXML\ChatFrame.lua”]:4773: in function `ChatEdit_OnEnterPressed’
[string “:OnEnterPressed"]:1: in function <[string ":OnEnterPressed”]:1>
Locals:
(*temporary) = defined @FrameXML\RestrictedInfrastructure.lua:116
(*temporary) = nil
(*temporary) = 44311
(*temporary) = “attempt to call global ‘IsQuestFlaggedCompleted’ (a nil value)”
Any suggestions