WoW API: GuildRosterSetOfficerNote

From AddOn Studio
Jump to navigation Jump to search

WoW API < GuildRosterSetOfficerNote

Sets the public note of a guild member.

GuildRosterSetOfficerNote(index, "Text")


Arguments[edit]

(index, "Text")
index
The position a member is in the guild roster. This can be found by counting from the top down to the member or by selecting the member and using the GetGuildRosterSelection() function.
Text
Text to be set to the officer note of the index.


Example[edit]

GuildRosterSetOfficerNote(GetGuildRosterSelection(), "My Officer Note")


Details[edit]

color can be added to public notes, officer notes, guild info and guild MOTD using UI Escape Sequences

GuildRosterSetOfficerNote(GetGuildRosterSelection(), "|cFFFF0000This Looks Red!")

or

/script GuildRosterSetOfficerNote(GetGuildRosterSelection(), "\124cFFFF0000This Looks Red!")

for in game text editing