API:GetPlayerMoney

Returns amount of Diamonds, Rubies and Gold GetPlayerMoney

Arguments

 * account - Diamonds
 * bonus - Rubies
 * copper - Gold

Example
/script DEFAULT_CHAT_FRAME:AddMessage(GetPlayerMoney("account"));

Returns the current amount of your diamonds