WoW API: GuildControlDelRank

WoW API < GuildControlDelRank

GuildControlDelRank(index);

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

ParametersEdit

ArgumentsEdit

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

ReturnsEdit

nil

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

DetailsEdit

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