WoW:API SplitMoney: Difference between revisions

m
formatting
mNo edit summary
m (formatting)
Line 1: Line 1:
'''USE THIS FUNCTION CAREFULLY'''<br>
'''USE THIS FUNCTION CAREFULLY'''<br>
As it seems to split all your money to your party members ''without'' further warning (when called without argument)!
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}}
[[Category:API Functions|SetMapZoom]]
[[Category:API World Map Functions|SetMapZoom]]
 


[[Category:API Functions|SplitMoney]]
[[Category:API Functions|SplitMoney]]
[[Category:API Group Functions|SplitMoney]]
[[Category:API Group Functions|SplitMoney]]
Anonymous user