WoW API: GuildRosterSetOfficerNote

From AddOn Studio
Revision as of 04:46, 15 August 2023 by Move page script (talk | contribs) (Move page script moved page API GuildRosterSetOfficerNote to API GuildRosterSetOfficerNote without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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