Difference between pages "TEXT EDITOR TEXTEDITOR WORDWRAP WORD WRAP FORMATTING WRITE" and "TSTAT TRIGEDIT-EXAMPLES EXAMPLES TRIG-EXAMPLES"

From 4Dimensions
(Difference between pages)
Jump to: navigation, search
(Bot: Automated import of articles)
 
m
 
Line 1: Line 1:
'''TEXT_EDITOR TEXTEDITOR WORDWRAP WORD_WRAP FORMATTING WRITE'''
+
'''TSTAT TRIGEDIT-EXAMPLES EXAMPLES TRIG-EXAMPLES'''
 
[[Category:Help Files]]
 
[[Category:Help Files]]
 +
[[Category:Building]]
  
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.
+
Usage: tstat <trigger vnum>
  
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
+
Tstat lets you learn more about a specific trigger.
  
over the place wrapping around etc. Just simply type /fi on a new line and hit
+
Be warned that all the triggers on TBA may not work since anyone could
  
enter. Before you save type /l to list the buffer and see for yourself how it
+
have made them. Ask around for the best examples. Zone 0 are the basic
  
looks. Fix as needed.
+
examples. For more examples check out zones 13, 19, 27, 29, 77, 236 and
  
When entering the text editor for the first time make sure to use /c to clear
+
# There are numerous others. Look around, just beware some may not be
 +
#: examples.
  
the current contents. Indent and format all descriptions by typing /fi (format
+
To learn more about any of these just tlist <zone #> then tstat each
  
with indent) in the text editor. This includes all forms of OLC, mudmails,
+
trigger individually. You can always ask Rumble to find you an example.
  
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.
+
See also: [[TLIST]] [[TRIGEDIT]] [[OLC]]
 
 
 
 
Editor command formats: /<letter>
 
 
 
 
 
{c0/a        - aborts editor
 
 
 
{c0/c        - clears buffer
 
 
 
{c0/d#        -  deletes a line #
 
 
 
{c0/e# <text> -  changes the line at # with <text>
 
 
 
{c0/f        -  formats text.
 
 
 
{c0/fi        -  indented formatting of text (highly recommended for all desc's)
 
 
 
{c0/h        -  list text editor commands
 
 
 
{c0/i# <text> -  inserts <text> before line #
 
 
 
{c0/l        -  lists buffer
 
 
 
{c0/n        -  lists buffer with line numbers
 
 
 
{c0/r 'a' 'b' -  replace 1st occurance of text <a> in buffer with text
 
 
 
{c0/ra 'a' 'b'-  replace all occurances of text <a> within buffer with text
 
 
 
usage: /ra 'pattern' 'replacement'
 
 
 
{c0/s        -  saves text
 
 
 
 
 
 
 
NOTE: /f and /fi in trigedit will autoindent your trigger.
 
 
 
Commands such as /r, /n, /e#, /i#, /d# are invaluable and will make your job
 
 
 
much easier. For example lets 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.
 

Latest revision as of 14:30, 14 July 2017

TSTAT TRIGEDIT-EXAMPLES EXAMPLES TRIG-EXAMPLES


Usage: tstat <trigger vnum>


Tstat lets you learn more about a specific trigger.

Be warned that all the triggers on TBA may not work since anyone could

have made them. Ask around for the best examples. Zone 0 are the basic

examples. For more examples check out zones 13, 19, 27, 29, 77, 236 and

  1. There are numerous others. Look around, just beware some may not be
    examples.

To learn more about any of these just tlist <zone #> then tstat each

trigger individually. You can always ask Rumble to find you an example.


See also: TLIST TRIGEDIT OLC