| [<start> [<end>]] L | Lists all lines between start and end, if
both are provided, otherwise it lists only
the start line. If no arguments are provided,
all lines are printed.
|
| <start> [<end>] D | Deletes the specified line or lines from the
buffer.
|
| [<start>] I | Inserts new lines into the buffer before the
start line. If no arguments are provided, the
lines are inserted at the end of the buffer.
|
| H | Displays help text.
|
| <find> <replace> <start> [<end>] R
| Searches all lines between start and end (or
only the start line if no end is provided)
for the find string, and replaces each instance
with the replace string. Currently only
search/replace strings that include no spaces
are supported.
|
| Q | Save proplist and exit.
|
| X | Exit without saving proplist.
|
Notes:
| Name
| Arguments
| Explanation
|
| list-cat
| L s1 -- s2
| The elements of the list are concatenated together into one string with
the provided string places between each list element.
|
| list-delete
| L i -- L'
| The numbered element is removed from the list.
|
| list-deleterange
| L i1 i2 -- L'
| The elements i1 and i2, as well as any element between them, are
removed from the list.
|
| list-english
| L s1 -- s2
| The elements of the list are concatenated together with a comma and a
space between all but the last elements, and ", and " between the
last two elements. ( "one" "two" "three" --> "one, two, and three")
|
| list-filter
| L a -- L'
| Each of the list elements is passed in turn to the word that the
address points to. That word should replace the string with the
one that should be placed in the list at the position of the
original string.
|
| list-getitem
| L i -- s
| The requested list element is returned.
|
| list-insert
| L i s -- L'
| The string inserted into the list before the specified element.
|
| list-load
| d s -- L
| The named proplist is read from the object and placed on the stack.
|
| list-notify
| L d --
| Each element in the list is displayed to the object.
|
| list-pop
| L --
| Removes the list from the stack.
|
| list-prune
| L a -- L'
| Each of the list elements is passed in turn to the word that the
address points to. That word should return false for elements that
should be removed and a true for elements that should be kept.
|
| list-random
| L -- s
| One list element is selected at random and placed on the stack.
|
| list-recite
| L d1 d2 d3 --
| If d1 is a valid dbref, the list is recited to each player in d1 except
d2. If d1 is invalid, but d2 is valid, the list is recited to d2. If
neither d1 nor d2 is valid, the list is recited to d3's current location.
In any case, the list is recited from d3's perspective. (See
recite for more information.)
|
| list-remove
| d s --
| The list specified is removed from the object specified.
|
| list-reverse
| L -- L'
| The elements of the list are exactly reversed so that the first element
becomes the last element, and so forth.
|
| list-save
| L d s --/code>
| The list is written out to properties on the object under a list named s.
|
| list-setitem
| L i s -- L'
| Element i in the list is replaced by the string.
| |
Notes: