WoW:API GetMoney: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
Line 8: | Line 8: | ||
/script DEFAULT_CHAT_FRAME:AddMessage(GetMoney(),1,1,1); | /script DEFAULT_CHAT_FRAME:AddMessage(GetMoney(),1,1,1); | ||
Another Example: | |||
/script SendChatMessage("I have "..GetMoney().." copper.") | |||
[[Category:API Functions|GetMoney]] | [[Category:API Functions|GetMoney]] | ||
[[Category:API Channel Functions|GetMoney]] | [[Category:API Channel Functions|GetMoney]] |
Revision as of 21:00, 31 December 2005
Returns an integer value of your held money.
This will need to be parsed to display gold, silver, copper seperately.
format could be expressed as ..ggggsscc
Example:
/script DEFAULT_CHAT_FRAME:AddMessage(GetMoney(),1,1,1);
Another Example:
/script SendChatMessage("I have "..GetMoney().." copper.")