WoW API: GuildControlDelRank

From AddOn Studio
Revision as of 04:46, 15 August 2023 by Move page script (talk | contribs) (Move page script moved page API GuildControlDelRank to API GuildControlDelRank without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

WoW API < GuildControlDelRank

GuildControlDelRank(index);

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

Parameters

Arguments

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

Returns

nil

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

Details

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