Go to the first, previous, next, last section, table of contents.


Notes and Letters

Notes and letters are objects that can have text written on them to be read later. They are useful for leaving messages to people, or for documenting your creations. Note that, like most objects, only the owner of a note can recycle it. If you'd like to make it possible for a reader of your note to destroy it (this is a common desire for notes to other individual players), then you might want to look at using a $letter instead.

Using Notes

You can make a note by creating a child of the standard note, $note. The following commands are available for interacting with notes:

Command: read note
Prints the text written on the named object, usually a note or letter. Some notes are encrypted so that only certain players may read them.
Command: write "any text" on note
Adds a line of text to the named note or letter. Only the owner of a note may do this.
Command: erase note
Deletes all of the text written on a note or letter. Only the owner of a note may do this.
Command: delete line-number from note
Removes a single line of text from a note. The first line of text is numbered 1, the second is 2, and so on. Only the owner of a note may do this.
Command: @notedit note-object
Command: @notedit object.property
Enters the MOO Note Editor to edit the text on the named object For the first form, note-object must be a descendant of $note. For the second form, object.property can be any text-valued (i.e., list of strings) property on any object. The standard MOO editor is used to perform editing operations.
Command: encrypt note with key-expression
Restricts the set of players who can read the named note or letter to those for whom the given key expression is true. Only the owner of a note may do this.
Command: decrypt note
Removes any restriction on who may read the named note or letter. Only the owner of a note may do this.

Using Letters

A letter is a special kind of note with the added feature that it can be recycled by anyone who can read it. This is often useful for notes from one player to another. You create the letter as a child of the generic letter, $letter, encrypt it so that only you and the other player can read it and then either give it to the player in question or leave it where they will find it. Once they've read it, they can use the `burn' command to recycle the letter. The following command is available for letters, in addition to those used for notes.

Command: burn letter
Destroy the named letter irretrievably. Only players who can read the letter can do this.


Go to the first, previous, next, last section, table of contents.