i'm not to sure if it's correct, i need it to do one function as a addon. ineed it to gkick everyone from the guild, i know there is a macro but i'm asking for a addon, i want it to look like it's a mass guild invite addon but instead it mass guild kicks everyone!
please help me! thank you!her eis my tocCode:--Slash Command-- SLASH_GUILDINVITE1, SLASH_GUILDAUTO2, SLASH_GUILDSTOP3 = '/ginvite', '/gauto', '/gstop'; end function GInvite() for i=1,GetNumGuildMembers(true) do local name,rank,rankindex = GetGuildRosterInfo(i); if level >= 1 and level <= 85 and rank > 0 then GuildUninvite(name); end end end
## Title: Guild Inviter
## Version: 1.0
## Author: Yogottalol
## Interface: 40000
## Notes: Helps invite nonguild members, based on /who nonguild players.
GInvite.lua