Report everyone in your raid afk:
Ask everyone in your raid for mana biscuits:
Code:
/run for i = 1, GetNumRaidMembers() - 1 do local u,server =UnitName("raid"..i ) if server and(server~="")then u=u.."-"..server end ReportPlayerIsPVPAFK(u) end
You should know that the function to report players has a hidden internal cooldown. You're reporting the first few people in your raid for being AFK, and while it fires for all of the others too, only the first few are ever actually reported.
It's probably a bit more than just a "few". I once was in a 4 man AV group, and all 4 of us used that macro and suddenly 20 people all had the debuff at once and everyone began screaming bloody murder in /bg "WHO REPORTED ME I AM NOT AFK". It was kinda funny, but I didn't hit hte macro again after that. I figure the people who were really afk never got around to removing the debuff and its job was done
Ask everyone in your raid for mana biscuits:
Code:
/run for i = 1, GetNumRaidMembers() - 1 do local u,server =UnitName("raid"..i ) if server and(server~="")then u=u.."-"..server end SendChatMessage("can you spare some biscuits?", "WHISPER", nil,u) end
Ask every single person in the BG for food/water (I guarentee 5 people will try to open trade with you asap -- everyone gives food water if you take the time to ask them personally)Send a Message to everyone in your guild:
Code:
/script m="Insert text here, watch out for the maximum macro length restriction, it will cut code" n = GetNumGuildMembers() for i=1, n do u=GetGuildRosterInfo(i) me = UnitName("player") if not (u == me) then SendChatMessage(m, "WHISPER", nil,u) end end
Pretty simple to use, just change m to whatever you want it to say. As mentioned watch out for the length restriction on macros, if you make the message too long it will cut off some code. If this happens just copy paste it again or fix it yourself if your know how.