Run print macro

UI and Macro
I am trying to use the following macro to check my riches of pandaria status , but it just prints out all the items / zones even though I know there are ones I have found. I currently am at 16/18 items found and don't know which ones I am missing.

/run if IsQuestFlaggedCompleted(31400) ~= 1 then print("Ancient Pandaren Tea Pot - Jade Forest") end
/run if IsQuestFlaggedCompleted(31864) ~= 1 then print("Box of Supplies - Jade Forest") end
/run if IsQuestFlaggedCompleted(31401) ~= 1 then print("Lucky Pandaren Coin - Jade Forest") end
/run if IsQuestFlaggedCompleted(31865) ~= 1 then print("Offering of Rememberance - Jade Forest") end
/run if IsQuestFlaggedCompleted(31404) ~= 1 then print("Pandaren Ritual Stone - Jade Forest") end
/run if IsQuestFlaggedCompleted(31396) ~= 1 then print("Ship's Storage - Jade Forest") end
/run if IsQuestFlaggedCompleted(31866) ~= 1 then print("Stash of Gems - Jade Forest") end
/run if IsQuestFlaggedCompleted(31869) ~= 1 then print("Boat-Building Instructions - Valley of the Four Winds") end
/run if IsQuestFlaggedCompleted(31405) ~= 1 then print("Virmen Treasure Cache - Valley of the Four Winds") end
/run if IsQuestFlaggedCompleted(31867) ~= 1 then print("Forgotten Lockbox - Veiled Stair") end
/run if IsQuestFlaggedCompleted(31428) ~= 1 then print("Hammer of Folly - Veiled Stair") end
/run if IsQuestFlaggedCompleted(31408) ~= 1 then print("Saurok Stone Tablet - Krasarang Wilds") end
/run if IsQuestFlaggedCompleted(31863) ~= 1 then print("Stack of Papers - Krasarang Wilds") end
/run if IsQuestFlaggedCompleted(31420) ~= 1 then print("Ancient Mogu Tablet - Kun-Lai Summit") end
/run if IsQuestFlaggedCompleted(31414) ~= 1 then print("Hozen Treasure Cache - Kun-Lai Summit") end
/run if IsQuestFlaggedCompleted(31418) ~= 1 then print("Lost Adventurer's Belongings - Kun-Lai Summit") end
/run if IsQuestFlaggedCompleted(31868) ~= 1 then print("Mo-Mo's Treasure Chest - Kun-Lai Summit") end
/run if IsQuestFlaggedCompleted(31419) ~= 1 then print("Rikktik's Tick Remover - Kun-Lai Summit") end
/run if IsQuestFlaggedCompleted(31416) ~= 1 then print("Statue of Xuen - Kun-Lai Summit") end
/run if IsQuestFlaggedCompleted(31415) ~= 1 then print("Stolen Sprite Treasure - Kun-Lai Summit") end
/run if IsQuestFlaggedCompleted(31422) ~= 1 then print("Terracotta Head - Kun-Lai Summit") end
/run if IsQuestFlaggedCompleted(31427) ~= 1 then print("Abandoned Crate of Goods - Townlong Steppes") end
/run if IsQuestFlaggedCompleted(31426) ~= 1 then print("Amber Encased Moth - Townlong Steppes") end
/run if IsQuestFlaggedCompleted(31423) ~= 1 then print("Fragment of Dread - Townlong Steppes") end
/run if IsQuestFlaggedCompleted(31424) ~= 1 then print("Hardened Sap of Kri'vess - Townlong Steppes") end
Try logging on an alt and switching back to that character.

Once in a great while there's a bug where quest flags aren't loading properly and even exiting and logging back on same character doesn't refresh them. But for some reason logging into an alt and back will get them loading again.
Thanks a ton that did the trick. Been fighting with this for hours . Much appreciated.
Well was able to finish up Riches of Pandaria , but now that I switched to Is Another Man's Treasure with only 3 items left to find it is doing the same as before. I tried logging in and out on several different chars. Will it do any good to delete cache / wtf folders ?
Im having problems also trying to find the last 2 treuasres using the code /run print(IsQuestFlaggedCompleted( #####)) and it all says 1 no nils, anyone have an idea

Join the Conversation

Return to Forum