WoW:API GuildControlDelRank: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
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).

Revision as of 02:43, 7 September 2006

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).