WoW:API BuyGuildCharter: Difference between revisions

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

Revision as of 19:09, 23 December 2006

WoW API < BuyGuildCharter

Purchase a Guild Charter.

BuyGuildCharter(guildName)

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:

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