Appendix C: Commands
III: Using Pedit
Type pedit to enter the editor. Once you are inside the editor, you can get help by typing ?. That will give you an index of help files. To read any help files, type ?<file>, so to get help on the desc command, use ?desc.

Once inside the editor, you can change your description (?desc), toggle whether people can hand you items (?hand), set yourself to be notified when people look at you (?notify), set your sex (?sex) or species (?species), and even change what message you use for say (?say, ?osay).

IV: Using Morph
We have a global morph program on TK. It is not exactly the same as the morph program you may be used to from other MUCKs, but it is powerful and simple to use. Simply type morph #help to get started.

If you are setting up morph for the first time, you will need to save your current description to an off-muck file, then type @desc me={eval:{list:_Morphs/{prop:_Morphs/Current,this}/desc,this}} (all on one line). You will only need to do this once per character. Be sure to SAVE YOUR CURRENT DESCRIPTION SOMEWHERE FIRST, if you want to save it and make a morph out of it, as this will hide it from view.

Next, choose a name for your morph, and type lsedit me=_Morphs/<name>/desc, where <name> is the name you've chosen for your morph. For example, 'lsedit me=_Morphs/workclothes/desc'. Type this in as-is, substituting only the name; do not type your description where the word "desc" appears. This command will open the list editor, and you can enter your description there.

You can type morph to get a list of all morphs you currently have (the one you're currently wearing will have an asterisk (*) in front of it). You can use morph #help to get help, and morph <name> to morph to a different form.

To set up a morph, you will need to set the sex and species of the new morphs under the properties shown in morph #help. Sex and species must be set for each morph, because part of the flexibility of morph is in the ability to specify different values here for each description.

You can also set the say and osay on each morph, as well. Say changes what you see when you use the say command to speak, such as from 'You say' to 'You mutter'. Osay changes what other people see when you speak, such as from 'Player says' to "Player mutters'. These are optional, and if you do not set them, the default "say" will be used.

Similarly, 'msg' changes what you see when you switch morphs, and 'omsg' changes what others see when you switch morphs. These are optional, and if you choose not to set messages, none will be shown.

Remember that every time you make changes to a morph, you must switch to that morph again to activate it for your changes to take effect.

V: Using the List Editor
To enter the list editor, you can either trigger a command that will put you into it automatically (pedit's 'desc' function, for example), or type lsedit <object>=<list name>. Such as lsedit me=desc.

The list editor (lsedit) is your friend. It's an extremely powerful and flexible little tool, useful throughout the MUCK for editing your description, pinfo, #mail to other players, and objects/rooms you may wish to build in the future. It can be used to your advantage with a minimal set of commands at first. Note the header information when you enter the editor: it tells you that you can get help at any time by typing .h, it tells you how to quit and save, and how to quit without saving -- all very important things!

Some people find it more helpful to write a description or list in a text editor like Wordpad, and then simply cut and paste it into the list editor. You can do whichever you like.

One of the most important commands in lsedit is .p -- this will show you the text you've typed in, prepended with line numbers. Your line numbers are extremely helpful, as you'll see in a moment. (.l (that's a lowercase L) will show you your text without line numbers.)

Type your text as usual, using returns to end a paragraph. Remember that to get a blank line in the list, you can't just hit enter again. You have to type <space><enter>, so that the line will have a space on it, and be blank.

You can abort the editor without saving by typing .abort, you can save and exit the editor by typing .end. If you want to use the character ':' or '"' at the beginning of a line, you will need to prefix a period in front (.:), otherwise you will say or pose the message.

The command .i <line #> will insert your cursor at the beginning of the appropriate line number, so that you can insert text there.

To replace or add text within a line, use the .repl command. The format is .repl <line #>=/old text/new text. This will replace every instance of the string on that line, so if you're replacing 'her' with 'her foot' and there is more than one her on the line, you'll need to put enough text in the replace statement to specify which one you mean.

To delete a line, the command is .del <line #>. Use .del <line #> <line #> with no punctuation between the numbers, to replace a range of lines.

Typing .format <line #> <line #>=<col width> gives you nice aligned paragraphs without line-wrap. A column width of 78 or 80 is suggested, since 80 is the standard for many clients. For example, .format 2 5=78 formats lines 2 through 5.

Keep in mind that formatting or deleting will shift all your line numbers, and that any timer programs your MU* client uses will echo the text of your ping into the editor. Doublecheck with .p often. If your .repl change is accepted, lsedit will echo the revised line back at you. If not, it won't, so you can assume if you go to replace text and don't see it confirmed, something's gone wrong.

Use .h within the editor at any time to get help on these or any other commands.