I'm really just trying to understand this.
It's comming a bit more complicated then I though.
I'm so use to arrays and stuff.
I think this is using chunks.
I don't understand how it works at all.
Code:
for i=0, players_total do
if player.m_name == players_invited[i] then
DEFAULT_CHAT_FRAME:AddMessage(player.m_level..": "..player.m_name,1,1,0,1);
else
players_invited = {player.m_name};
DEFAULT_CHAT_FRAME:AddMessage(player.m_level..": "..player.m_name,0,1,0,1);
InviteUnit(player.m_name);
end
end
I am Trying to chck the list of invited player.
Don't invite unless not invited before.(So I dont invite them over and over every time.)
Then add to list once invited.