View Single Post
07-17-18, 03:06 AM   #1
Voxxel
A Chromatic Dragonspawn
Join Date: Mar 2009
Posts: 193
Question Quest completion list macro

hey!

I have a macro to check quest completions and prints them in colored yes/no:
Code:
/run local t={"OrdLake",33201,"Steam",33202,"StuCent",33198,"StuSW",33199,"StuW",33200,"T1G1",33216,"T1G2",33217}for i=1,#t-1,2 do print(t[i],IsQuestFlaggedCompleted(t[i+1])and "\124cff00ff00Completed" or "\124cffff0000Not completed")end
The result looks like this:
Code:
OrdLake Not completed
Steam Completed
StuCent Completed
StuSW Not completed
T1G1 Not completed
T1G2 Completed
I'm looking for a way to edit this to remove the manually set name parts and make the macro to print the exact quest names automatically. I don't want to set the quest names into the macro because it takes a lot of space and my goal is to print out as many quests as possible.

Would you please help me to fix this macro for this purpose?
  Reply With Quote