Quantcast WoWInterface - View Single Post - [Help] Invite ALL Guild
View Single Post
02-20-12, 03:35 PM   #2
A Pyroguard Emberseer
SDPhantom's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2006
Posts: 1,732
The 9th value from GetGuildRosterInfo() should return whether or not they're online. Also the level cap is already 85, so you only need to check if they're 80+.

/run for i=1,GetNumGuildMembers(true) do local name,_,_,level,_,_,_,_,online=GetGuildRosterInfo(i); if online and level>=80 then InviteUnit(name); end
ESOUI AddOns | WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)
  Reply With Quote