Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API SplitMoney

Last wiki revision 2020-01-08

Splits the specified amount of copper (defaults to all your current money) between all of your party members. SplitMoney([copper]);

  • Arguments
  • copper : Number - amount of copper to split between party members. If nil, all your current money is split.

SplitMoney(30); --1 SplitMoney(203); --2 SplitMoney(30201); --3 SplitMoney; --4

  • Example
  • Result
  • 1) Splits 30 copper.
  • 2) Splits 2 silver and 3 copper.
  • 3) Splits 3 gold and 2 silver and 1 copper.
  • 4) Splits all the money in your possession.

Source

https://warcraft.wiki.gg/wiki/API_SplitMoney · retrieved 2023-11-13 · CC BY-SA 4.0

Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.

This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.