Hello there! We are conducting a survey to better understand the user experience in making a first edit. If you have ever made an edit on Gamepedia, please fill out the survey. Thank you!

API GetGuildBankMoney

From Wowpedia
Jump to: navigation, search

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.