Originally Posted by Voxxel
Would you help me on how can I sort the list of quest for the macro above vertically?
|
I'm not really sure what you're asking, if you want to output the names on separate lines you can do it like this..
Lua Code:
/run local t={"Terrorfist",39288,"Vengeance",39290,"Deathtalon",39287,"Doomroller",39289}for i=1,#t-1,2 do print((IsQuestFlaggedCompleted(t[i+1]) and '\124cffff0000' or '\124cff00ff00')..t[i])end
It's "sorted" by the order you have them in, so if you want them in a different order, just rearrange the list.