Create()

From TinyMUX
Jump to navigation Jump to search


FUNCTION: 20px-Function.png create(<object>, <cost>[, <type>])

Works the same as @create <object>, but returns the database number of the object created. <cost> is the cost of making the object. <type> is an optional parameter, 'r' for rooms, 't' for things, and 'e' for exits. If no <type> is specified, then a thing will be created by default. This is a side effect function, and should only be used when necessary.

Related Topics

emit() link() oemit() pemit() remit() set() tel()