View Single Post
Unread 03-15-13, 09:24 AM   #22
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2007
Posts: 1,292
If we're really minimalizing something this small

Lua Code:
  1. for name, id in pairs{
  2.     Oondasta = 32519,
  3.     Galleon = 32098,
  4.     Nalak = 32518,
  5.     Sha = 32099
  6. } do
  7.     print(name, IsQuestFlaggedCompleted(id))
  8. end
Lua Code:
  1. /run for k,v in pairs{Oondasta=32519,Galleon=32098,Nalak=32518,Sha=32099} do print(k,IsQuestFlaggedCompleted(v)) end

Returns true or nil based on completion status, good enough for many.
p3lim is offline   Reply With Quote