WoW:API GuildControlDelRank: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(api tag. formatting.)
m (Move page script moved page API GuildControlDelRank to API GuildControlDelRank without leaving a redirect)
 
(No difference)

Latest revision as of 04:46, 15 August 2023

WoW API < GuildControlDelRank

GuildControlDelRank(index);

Deletes the rank at that index. The player must be the guild leader.

Parameters[edit]

Arguments[edit]

index
Number - must be between 1 and the value returned by GuildControlGetNumRanks().

Returns[edit]

nil

If the rank cannot be deleted, a message written be sent to the default chat window.

Details[edit]

The index rank must be unused - no guildmembers may currently have that rank or any lower rank (having a higher index value).