WRITE

Keywords: WRITE

Category: Basics

=== USER MANUAL === Usage: write <subject> write <note> Description: Post a message to a bulletin board, or write on a note item. Board Writing: If a board is present in the room or your inventory, write creates a new message with the given subject and opens the text editor. Note Writing: If no board is present, write <note> writes on a blank note item in your inventory. The note must be of type ITEM_NOTE and must not already have text on it. Using The Editor: Type text normally to add lines to your message. Every editor command begins with / followed by a single letter. Line numbers used by some commands start at 1 -- use /n to see them. /s .............. Save the text and exit the editor. /a .............. Abort editing and discard everything. /h .............. Display the list of editor commands. /c .............. Clear the entire buffer. /l .............. List the current buffer contents. /n .............. List the buffer with line numbers. /u .............. List the buffer for upload to your client. /f .............. Format (word-wrap) the whole buffer. /fi ............. Format with indented paragraphs. /d# ............. Delete line number #. /e# <text> ...... Replace line # with <text>. /i# <text> ...... Insert <text> before line #. /r 'a' 'b' ...... Replace the first occurrence of a with b. /ra 'a' 'b' ..... Replace every occurrence of a with b. Search/replace patterns must be wrapped in matching single or double quotes, e.g. /r "teh" "the" or /ra 'foo' 'bar'. Raw Color Output: Appending c to a list command shows the raw color codes instead of rendering them, which is handy for copying formatting exactly: /lc, /nc, and /uc. Restrictions: - Board writing requires write-level access to the board. - Notes must be blank (no existing text). - Must be resting or better to use. Related Helpfiles: BOARDS, EDITOR, READ, RESPOND === END MANUAL ===