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 return 0 (zero) if the guild bank frame was not opened, or a cached value from the last time the guild bank frame was opened.