WoW:API BuyGuildCharter: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 14: Line 14:
<pre>local result = BuyGuildCharter("Example Guild");</pre>
<pre>local result = BuyGuildCharter("Example Guild");</pre>
<hr />
<hr />
[[Category:API Functions|BuyGuildCharter]]
[[Category:API Guild Functions|BuyGuildCharter]]

Revision as of 15:07, 27 August 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");