View/Edit #87!@describe

File name: @describe
Syntax:  <TT>@describe &lt;object&gt; as &lt;description&gt;</TT>

Sets the description string of <TT>&lt;object&gt;</TT> to <TT>&lt;description&gt;</TT>.  This is the string that is printed out whenever someone uses the 'look' command on <TT>&lt;object&gt;</TT>.  To describe yourself, use 'me' as the <TT>&lt;object&gt;</TT>.

Example:
Munchkin types this:
  <TT>@describe me as "A very fine fellow, if a bit on the short side."</TT>
People who type 'look Munchkin' now see this:
  <TT>A very fine fellow, if a bit on the short side.</TT>

Note for programmers:
The description of an object is kept in its <TT>.description</TT> property.  
For descriptions of more than one paragraph, <TT>.description</TT> can be a list of strings.

http://files.moo.ca:8081/8/7/@describe
Size: 736 bytes.
File perms: Readable


You are not logged in.

[home | help | who | search | setup | code]