WoW:API SplitMoney

Revision as of 06:29, 11 January 2006 by WoWWiki>Matrimus (Flagged as removed)

THIS FUNCTION HAS BEEN REMOVED AS OF 1.9.1 PATCH

USE THIS FUNCTION CAREFULLY
As it seems to split all your money to your party members without further warning when called without argument!

The rest of this page not entirely confirmed at the moment


Splits given money amongst the current party members. (including yourself) Defaults to all your money.

SplitMoney("goldsilvercopper")

Arguments
A string containing numbers representing the amount of money to be split.

Example
SplitMoney("30"); --1
SplitMoney("203"); --2
SplitMoney("20100"); --3
SplitMoney(); --4
Result
1. splits 30 copper
2. splits 2 silver and 3 copper
3. splits 2 gold and 1 silver
4. splits all the money in your possession

Template:WoW API