TrulyInsane1

WoW Macro - Food Buff Check

Jul 18th, 2018
350
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.75 KB | None | 0 0
  1. List raid members without a food buff
  2.  
  3. Use this version to list members without a food buff to yourself:
  4. /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);
  5.  
  6.  
  7. Use this version to send the list to raid chat:
  8. /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");
  9.  
  10. Credit: Xaeros of Shadowmoon
  11. Use: Click the macro to report members in raid that are neither food buffed nor eating.
  12. Works in 7.1
Advertisement
Add Comment
Please, Sign In to add comment