Food/Flask Macros

in
/run nfb="[Eat!]: ";for i=1,GetNumRaidMembers()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");
---
/run nf="[Flask!]: ";for i=1,GetNumRaidMembers()do for b=1,41 do ufl=UnitAura('raid'..i,b);if ufl then if strfind(ufl,"Flask")then break;end;elseif b==41 then nf=nf..UnitName('raid'..i).." ";end;end;end;SendChatMessage(nf,"raid");





Thanks Cacc!
I've been asking Cacc for some time now for these macros...but during raid, afterwards it would slip my mind. Better bring yo food and flasks to raid!
The macro sees all!!!
There's actually an addon
There's actually an addon that will tell you who is flasked/well fed/elixired up. It's pretty lightweight and will show you in private or you can choose to post it in whatever chat you like. Even announces when feasts/tables/healthstones are dropped and at about 15 seconds before it disappears it announces either in whispers to people missing the buffs or in raid for them to get a food buff before it expires as well as min duration left on tables and healthstones.
Hm
Gotta look into that, I myself sometimes don't notice a feast down or forget my flask is going to fall off in 10 min, etc. I like that feature that lets you know shortly before a feast disapears, if I had a nickel for everytime someone asked for food when it was just down XD