So I've been using the iblame macro as a joke for my raids to lighten the mood. It used to work perfectly, but for a while now it's been picking people that are offline even though it's set up only to pull from online members. Currently the raid function works just fine.
Link to source: http://www.wowpedia.org/Useful_macro...ld_Blame.21.29
I suspect it's due to a change in one of the functions, but I'm not knowledgeable enough with coding.
Code:/run x=GetNumGuildMembers(1)g=x>0 and GetGuildRosterInfo(random(1,x))or 0;y=GetNumRaidMembers()r=y>0 and GetUnitName('raid'..random(1,y))or 0;if IsShiftKeyDown()then c,b="Raid",r else c,b="guild",g end;SendChatMessage("[iBlame]: "..b..".",c);