Just something I wipped up for this achievement:
Achievement status (incomplete criteria only):
Code:
/run local a=7298 print(format("\124cffFFFF00TODO for %s\124r",GetAchievementLink(a)))for i=1,GetAchievementNumCriteria(a)do local d,_,c,x,y=GetAchievementCriteriaInfo(a,i)if not c then print(format("%s %d/%d",d,x,y))end end
Monitor script, paste this first:
Code:
/run function GASP_OU(f,e)f.e=e+(f.e or 0)if f.e>1 then f.e=nil local a=7298 for i=1,GetAchievementNumCriteria(a)do local d,_,c,x,y=GetAchievementCriteriaInfo(a,i)if c and d==UnitName("boss1")then print("You need to change your companion!")end end end end
Paste this to enable the monitor routine:
Code:
/run GASP_F=GASP_F or CreateFrame"Frame"GASP_F:SetScript("OnUpdate",GASP_OU)
Paste this to disable the monitor:
Code:
/run GASP_F:SetScript("OnUpdate",nil)