User Tools

Site Tools


mud:ampersand

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

mud:ampersand [2019/08/08 17:17] (current)
admin created
Line 1: Line 1:
 +<​code>​
 +  COMMAND: &<​attribute>​ <​object>​[=<​value>​]
 +  SYNONYM: @set <​object>​ = <​attribute>:​[<​value>​]
 +</​code>​
 +
 +Sets the attribute named <​attribute>​ on <​object>​ to <​value>​. ​ If <​attribute>​ is not a predefined attribute (like ofail or va), then it is created. ​ Attributes so created are called user-named attributes.
 +
 +Attribute names may only contain letters, numbers, and the characters < -_.@#​$^&​*~?​=+| >, and must start with a letter. ​ The names of user-named attributes may not be abbreviated (an attempt to get the value of the attribute will fail, and an attempt to set will create a new attribute).
 +
 +The & command may be used to set predefined attributes (in this instance, ''&<​attr>​ <​object>​=<​value>''​ is equivalent to ''​@<​attr>​ <​object>​=<​value>''​).
 +
 +Related Topics: [[mud:​@set]].
  
mud/ampersand.txt ยท Last modified: 2019/08/08 17:17 by admin