i dont know if this is the right place
im using guildomatic addon to copy my guilds members/level/officer note
when im using it i get
["DKP"] = "here appears guild note, but i want officer note",
["name"] = "Player",
["note"] = "guilddd note",
["rank_index"] = 9,
["class"] = "Priest",
["rank"] = "Initiate",
}, -- [253]
{
i get guild note x2, in officer note they have theyr DKP and i dont know how to copy the officer note
Code:
function GmaticDKP_Roster (arg)
if (not IsInGuild()) then
GmaticDKP_PrintError("Can't update roster since you're not in a guild.");
return;
end
UDKP_GuildRoster = {};
local guildName = GetGuildInfo("player");
local num = 0;
-- get count of all online/offline guild members
for i = 1, GetNumGuildMembers(true), 1 do
local gName, gRank, gRankIndex, gOfficerNote, gClass, gNote, gOfficerNote = GetGuildRosterInfo(i);
tinsert(UDKP_GuildRoster, 1, { ["name"] = gName, ["rank"] = gRank, ["rank_index"] = gRankIndex, ["DKP"] = gOfficerNote, ["class"] = gClass, ["note"] = gOfficerNote });
num = num + 1;
end
GmaticDKP_Print("Recorded " .. num .. " guild members.");
help me :[
also +2 rep for helping