TEXT-EDITOR

reference

Also known as: TEXTEDITOR · /d · /i · /h · /s · /a · /c · /ra · /l · /fi · /d1 · /p · WORDWRAP · WORD-WRAP · FORMATTING · REPLACE · /e# · DELETE-LINE · REMOVE-LINE · LINES · INDENT

The text editor is what you use to write room/mob/obj/extra descriptions, mudmails, and even boards. It allows you more commands than the typical entry. To learn the commands while using the text editor, type /h. It will tell you what all the / commands do. Always use /fi to format, indent, and word wrap. It looks much better to see writing that is formatted than one that runs all over the place wrapping around etc. Just simply type /fi on a new line and hit enter. Before you save type /l to list the buffer and see for yourself how it looks. Fix as needed. When entering the text editor for the first time make sure to use /c to clear the current contents. Indent and format all descriptions by typing /fi (format with indent) in the text editor. This includes all forms of OLC, mudmails, boards, and anywhere else you use the text editor. This will indent the line by 3 spaces and wrap your text at less than 80 characters so telnet users can read it. Editor command formats: /<letter> /t - converts @* color codes into color. Use prior to /s. /a - aborts the editor and changes are lost. /c - clears the buffer. /d# - deletes line #, or a range #-#. /e# <text> - changes the line at # with <text>. /f - formats text. /fi - indented formatting of text (highly recommended for all desc's). paragraphs can be formatted by /f 1-4 (first from lines 1-4, and /f 5-9 (second from lines 5-9). /h - list text editor commands. /i# <text> - inserts <text> before line #. /l - lists buffer. /n - lists buffer with line numbers, or a range #-#. /r 'a' 'b' - replace 1st occurence of text <a> in buffer with text. /ra 'a' 'b'- replace all occurences of text <a> within buffer with text. usage: /ra 'pattern' 'replacement' /s - saves the text and exits the editor. NOTE: /f and /fi in trigedit will auto indent your trigger. PLEASE USE IT. Commands such as /r, /n, /e#, /i#, /d# are invaluable and will make your job much easier. For example, say you mistype "the" with "teh" in a 10 line description. Instead of /c (clearing) the text you can /r 'teh' 'the' or if it was on line 5 you can type /e5 <line with teh spelled correctly> or /d5. Learn all these options. Warning: Some clients will give you problems since they use special characters like the / character (MUDMaster 2k, Avplay, Mush, and SimpleMU).