WoW:API BuyGuildCharter: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(Buy a guild charter)
 
No edit summary
Line 1: Line 1:
 
<p>Purchases a Guild Charter from the Guild Master.</p>
<hr />
<dl><dt><em>Preconditions</em></dt></dl>
<dl><dd>Must be talking to a ''Guild Master'' NPC.</dd></dl>
<dl><dd>Must be on the ''Purchase a Guild Charter'' screen.</dd></dl>
<hr />
<dl><dt><em>Arguments</em></dt></dl>
<dl><dd>guildName: Name of the guild you wish to purchase a charter for.</dd></dl>
<hr />
<dl><dt><em>Returns</em></dt></dl>
<dl><dd>Nil on invalid name, 1 otherwise.</dd></dl>
<hr />
<dl><dt><em>Example</em></dt></dl>
<pre>local result = BuyGuildCharter("Example Guild");</pre>
<hr />

Revision as of 11:54, 30 January 2005

Purchases a Guild Charter from the Guild Master.


Preconditions
Must be talking to a Guild Master NPC.
Must be on the Purchase a Guild Charter screen.

Arguments
guildName: Name of the guild you wish to purchase a charter for.

Returns
Nil on invalid name, 1 otherwise.

Example
local result = BuyGuildCharter("Example Guild");