WoW:API SplitMoney: Difference between revisions
Jump to navigation
Jump to search
m (formatting) |
m (Move page script moved page API SplitMoney to API SplitMoney without leaving a redirect) |
||
| (5 intermediate revisions by 5 users not shown) | |||
| Line 1: | Line 1: | ||
{{wowapi|removed=1.9.1}} | |||
Splits the specified amount of copper between all of your party members from your money. | |||
SplitMoney([copper]) | |||
== Parameters == | |||
=== Arguments === | |||
* copper (number) - amount of copper to split between party members. If nil, all of your current money is split. | |||
== Example == | |||
SplitMoney(30); --1 | |||
SplitMoney(203); --2 | |||
SplitMoney(30201); --3 | |||
SplitMoney( | |||
SplitMoney( | |||
SplitMoney( | |||
SplitMoney(); --4 | SplitMoney(); --4 | ||
; | ;Result | ||
# Splits 30 copper. | |||
# Splits 2 silver and 3 copper. | |||
# Splits 3 gold and 2 silver and 1 copper. | |||
# Splits all the money in your possession. | |||
== Detials == | |||
Defaults to all your current money. | |||
Latest revision as of 04:47, 15 August 2023
This is no longer a part of the World of Warcraft API.
|
← WoW API < SplitMoney
Splits the specified amount of copper between all of your party members from your money.
SplitMoney([copper])
Parameters
Arguments
- copper (number) - amount of copper to split between party members. If nil, all of your current money is split.
Example
SplitMoney(30); --1 SplitMoney(203); --2 SplitMoney(30201); --3 SplitMoney(); --4
- Result
- Splits 30 copper.
- Splits 2 silver and 3 copper.
- Splits 3 gold and 2 silver and 1 copper.
- Splits all the money in your possession.
Detials
Defaults to all your current money.