How to tell if you've completed quest/item

I’m trying to work on an Achv where you have to collect various things.

There’s a common script to determine if you have completed a quest/ acquired an item, an example:

/run print(IsQuestFlaggedCompleted(31292))

It should display a “1” if completed, “0” if not.

Except it’s not doing anything. Does anyone know if this functionality is still in the game and what syntax to use?

It worked recently for me. Do you have any addons that filter text? Spam addons? If so try temporarily disabling them, or all addons. The first time you run a script it may create a popup asking if you are sure you trust it, addons can block that.

No I’m very lightweight. I have DBM, WA, and that’s about it.

I can just disable everything and see what happens. But I’m just not getting any output at all.

Try rerolling to a moose.

Should work fine after that.

It’s possible it’s generating an error and that you have script/error display disabled.

You might try this format:
/script print(C_QuestLog.IsQuestFlaggedCompleted(31292))

The quest macro was changed in the Shadowland prepatch.

This thread has the new one.

1 Like

That worked!!! ty

Now the only thing to figure out is why the Achv is for 20 Pandaren treasures, I have 17 … and it’s telling me I only have 2 left. >(

There’s a total of about 30. So I should have at least 12-13.

1 Like