Can you try this script? It's untested/drycoded though, since I don't have an active WoW subscription to test with atm
Code:
/run local t,c={},GetGuildRosterContribution for i=1,GetNumGuildMembers()do if c(i)>0 then tinsert(t,i)end end for i=1,5 do local r=random(#t)print(i,GetGuildRosterInfo(t[r]),c(t[r]))tremove(t,r)end
beautified:
Code:
local t, c = {}, GetGuildRosterContribution
for i = 1, GetNumGuildMembers() do
if c(i) > 0 then
tinsert(t, i)
end
end
for i = 1, 5 do
local r = random(#t)
print(i, GetGuildRosterInfo(t[r]), c(t[r]))
tremove(t, r)
end
It should print something like this:
1, Kitty, 841
2, Derpy, 395
3, Swifty, 784
4, Sheepy, 799
5, Doggy, 912