WoW API: GetGuildBankMoney

Revision as of 06:15, 10 December 2007 by WoWWiki>EWOlson (New page: {{wowapi}} __NOTOC__ <!-- Describe the purpose of the function, exhausting detail can be saved for a later section --> Returns the amount of money in the guild bank in copper. <!-- List r...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

WoW API < GetGuildBankMoney

Returns the amount of money in the guild bank in copper.

retVal1 = GetGuildBankMoney()


Returns

retVal1
Number - money in copper


Example

/script DEFAULT_CHAT_FRAME:AddMessage(GetGuildBankMoney());

Result

8900000


Details

Will always return 0 (zero) if the guild bank frame is not open.