List raid members without a food buff
Use this version to list members without a food buff to yourself:
/run nfb="[Eat!]: ";for i=1,GetNumGroupMembers()do for b=1,40 do ua=UnitAura('raid'..i,b);if ua=="Well Fed"or ua=="Food"then break;elseif b==40 and ua~="Well Fed"then nfb=nfb..UnitName('raid'..i).." ";end;end;end;print(nfb);
Use this version to send the list to raid chat:
/run nfb="[Eat!]: ";for i=1,GetNumGroupMembers()do for b=1,40 do ua=UnitAura('raid'..i,b);if ua=="Well Fed"or ua=="Food"then break;elseif b==40 and ua~="Well Fed"then nfb=nfb..UnitName('raid'..i).." ";end;end;end;SendChatMessage(nfb,"raid");
Credit: Xaeros of Shadowmoon
Use: Click the macro to report members in raid that are neither food buffed nor eating.
Works in 7.1
Comments