/run for i=1,GetNumRaidMembers()-1 do local unit = "raid"..i local name,realm = UnitName(unit) if(realm) then ReportPlayerIsPVPAFK(name.."-"..realm) else ReportPlayerIsPVPAFK(name) end end
Reports everyone in the BG afk at the same time. It's use is limeted, Blizzard implemented a cap to how many players you can report afk in a certain time frame, although no one knows exactly how many people in what time frame. I don't take credit for figuring this out myself, I found this on the wow forums, I think in general. Original thread has probably been deleted by now.