Money(): Difference between revisions

From TinyMUX
Jump to navigation Jump to search
(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 == ...)
 
(No difference)

Latest revision as of 23:05, 28 November 2010


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"