WoW API: GuildControlDelRank

From AddOn Studio
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[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).