WoW API: GetGuildBankMoney

From AddOn Studio
Jump to navigation Jump to search
Reference 

WoW API < GetGuildBankMoney

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

retVal1 = GetGuildBankMoney()


Returns[edit]

retVal1
Number - money in copper


Example[edit]

/script DEFAULT_CHAT_FRAME:AddMessage(GetGuildBankMoney());

Result

8900000


Details[edit]

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