Home Documentation MUF Docs GlowMUF Downloads Bug Tracking Support Requests Feature Requests
@propset <object> = <type> : <property> : <value>
@propset <object> = erase : <property>
@propset can set and clear properties from an object.
If the first format above is specified, the @propset command sets <property> on <object> to <value>, where <value> is of type <type>. <type> can be one of 'string', 'integer', 'dbref', or 'lock'. A string can be any set of characters the MUCK recognizes. An integer must be composed solely of numerals with the possible exception of a leading sign indicator (+ or -). A dbref must be of the form # followed by a positive integer, and it must be a valid dbref (i.e., the object must exist). A lock value must be a key that would be accepted by @lock or a similar command (see the help for @lock for more details).
The second format removes <property> on object. Note that if <property> is a propdir, it removes all properties below <property> as well. If you wish to clear the value of a propdir without removing the properties below it, use '@propset <object> = integer:<property>:0'.
See Also: @set.
Glow Command: @propset / Revised 2004 September 23 14:39 (Thursday)
© 2004 Glowmuck Development Group