Money()

From TinyMUX
Revision as of 23:05, 28 November 2010 by Ihavenomouth (talk | contribs) (New page: Category:Functions FUNCTION: {{Function|money(<object>)}} Returns an integer equal to the amount of money <object> has (if it is a player) or is worth (otherwise). == Example == ...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


FUNCTION: money(<object>)

Returns an integer equal to the amount of money <object> has (if it is a player) or is worth (otherwise).

Example

> score

You have 1052 clams.

> say money(me)

You say, "1052"


> exam sac test

Sac Test(#287V)

Type: THING Flags: VISUAL

Owner: Beaker Key: *UNLOCKED* Clams: 20

Home: Limbo(#0RLDAJ)

Location: The Town Square

> say money(sac test)

You say, "20"