Okay I have messed around with a bunch of different macros and now I am stumped.
Macro 1:
Code:
/run for i = 1 , GetNumGuildMembers(true) do GuildRosterSetPublicNote(i,"test text")
^ Now for that macro if I swap out the 'i" and just do "GuildRosterSetPublicNote(7, "test text") it will set the 7th persons guild note like it should so I'm guessing the loop just isn't working? Also I tried it with and without the (true).
Macro 2:
Code:
/run SLASH_MASSGUILDNOTE1 = "/gn"
SlashCmdList["MASSGUILDNOTE"] = function(note)
for i = 1, GetNumGuildMembers() do
GuildRosterSetOfficerNote(i, note or "")
end
end
Anyone know where I am going wrong or what I can change to make this work? I mean it sets the guild note if I manually input a number for it. But I would like to set 100's of notes at once.