WoW:API GuildRosterSetPublicNote: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(Added Page)
 
mNo edit summary
Line 1: Line 1:
{{wowapi}} __NOTOC__
{{wowapi}}  
 
<!-- Describe the purpose of the function, exhausting detail can be saved for a later section -->
<center><b>GuildRosterSetPublicNote</b> - <i>Documentation by [[User:Baragu|Baragu]]</i></center>
Sets the public note of a guild member.
Sets the public note of a guild member.
<!-- List return values and arguments as well as function name, follow Blizzard usage convention for args -->
<!-- List return values and arguments as well as function name, follow Blizzard usage convention for args -->

Revision as of 16:47, 4 December 2007

WoW API < GuildRosterSetPublicNote

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