WoW API: GuildRosterSetPublicNote

Revision as of 23:42, 11 September 2007 by WoWWiki>Baragu (Added Page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

WoW API < GuildRosterSetPublicNote

GuildRosterSetPublicNote - Documentation by Baragu

Sets the public note of a guild member.

GuildRosterSetPublicNote(index, "Text")


Arguments

(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 public note of the index.


Example

GuildRosterSetPublicNote(GetGuildRosterSelection(), "My Public Note")


Details

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

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

or

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

for in game text editing