Navigation menu

WoW:API BuyGuildCharter: Difference between revisions

Jump to navigation Jump to search
{{wowapi}}, format
No edit summary
({{wowapi}}, format)
Line 1: Line 1:
<p>Purchases a Guild Charter from the Guild Master.</p>
{{wowapi}} __NOTOC__
<hr />
Purchase a Guild Charter.
<dl><dt><em>Preconditions</em></dt></dl>
BuyGuildCharter(guildName)
<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 />


{{Template:WoW API}}
==Parameters==
===Arguments===
:;guildName : String - Name of the guild you wish to purchase a guild charter for.
==Example==
BuyGuildCharter("MC Raiders");
===Result===
Purchases a guild charter for "MC Raiders").
==Notes==
There are two preconditions to using BuyGuildCharter:
#Must be talking to a ''Guild Master'' NPC.
#Must be on the ''Purchase a Guild Charter'' screen.