WoW:API GuildControlDelRank: Difference between revisions

api tag. formatting.
No edit summary
 
(api tag. formatting.)
Line 1: Line 1:
<center>'''GuildControlDelRank(index)'''</center>
{{wowapi}} __NOTOC__
 
GuildControlDelRank(index);


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


The index must be between 1 and the value returned by GuildControlGetNumRanks().
== Parameters ==
=== Arguments ===
 
:;index:Number - must be between 1 and the value returned by [[API GuildControlGetNumRanks|GuildControlGetNumRanks]]().
 
=== Returns ===
 
:;nil
 
If the rank cannot be deleted, a message written be sent to the default chat window.


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


No return value. If the rank cannot be deleted, a message written be sent to the default chat window.
The index rank must be unused - no guildmembers may currently have that rank or any lower rank (having a higher index value).
Anonymous user