[Help] Invite ALL Guild
Hello friends WOWInterface,
I'm trying to create a macro to invite all members to level 80 to 85 of my guild for my Raid, I came to this command line.
/run for i=1,GetNumGuildMembers(true) do local name,_,_,level = GetGuildRosterInfo(i); if level >= 85 and level <= 85 then InviteUnit(name); end end
This macro invites even those who are offline, is to change it?
Is right or there's something that should be changed or can be improved?
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+.
|All times are GMT -6. The time now is 03:18 AM.|
vBulletin © 2016, Jelsoft Enterprises Ltd