All help topics · Link to this topic
Showing help on '#'
#<string>[.<property>|.parent] [exit|player|inventory] [for <code>] returns information about the object (we'll call it <thing>) named by string. String is matched in the current room unless one of exit|player|inventory is given.If neither .<property>|.parent nor <code> is specified, just return <thing>.
If .<property> is named, return <thing>.<property>. .parent returns parent(<thing>).
If <code> is given, it is evaluated, with the value returned by the first part being substituted for %# in <code>.
For example, the command
#JoeFeedback.parent player for tonum(%#)
will return 26026 (unless Joe has chparented since writing this).