WoW:API GetMoney: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
 
mNo edit summary
Line 8: Line 8:


/script DEFAULT_CHAT_FRAME:AddMessage(GetMoney(),1,1,1);
/script DEFAULT_CHAT_FRAME:AddMessage(GetMoney(),1,1,1);
[[Category:API Functions|GetMoney]]
[[Category:API Channel Functions|GetMoney]]

Revision as of 18:55, 27 August 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);