home *** CD-ROM | disk | FTP | other *** search
/ Crawly Crypt Collection 1 / crawlyvol1.bin / bbs / dor_man / dorman.txt
Text File  |  1991-11-27  |  7KB  |  118 lines

  1. Hello all QuickBBS ST sysops,
  2.  
  3. As an enthusiastic user of Jon's QuickBBS, I just started exploring the
  4. powerful batch processing language of the DOR files.
  5. For my one use I made this summary as a quick reference. It contains all
  6. the option up to the current version of QuickBBS ST (1.06)
  7.  
  8. I hope everyone feels encouraged to get even more out of your bbs by
  9. using DOR files, like questionnaire's, remote control etc.
  10. I think that it would be nice to use this international area to post all
  11. creative programming as example's for other sysops. What do you think Jon
  12. and Theo ?
  13.  
  14.  
  15.  
  16. ALPHABETICAL SUMMARY OF QUICKBBS ST 1.06 DOR FILE COMMANDS
  17.  
  18.  
  19. ;                            rest of the line is considered to be a com-
  20.                              ment
  21. :<label>                     the colon(:) defines a label
  22. CD <path>                    change directory
  23. CL <command>                 sets the current command line
  24. CLS                          clear screen, if the user has screen clearing
  25.                              switched on
  26. CLRFLAG <flag>               sets a flag OFF
  27. COPY <scr> <dest>            copies a file
  28. DEXIST <path>                same as fexist but for directories
  29. DEL <spec>                   delete files matching <spec>
  30. DLIMIT                       Increases, decreases or sets download limit
  31.                              for the rest of the day
  32. ECHO <text>                  same as the SEND command
  33. EXEC <prg> [<cl>]            executes <prg>. If no command line is defined
  34.                              in <cl>, the command line defined with the CL
  35.                              command will be passed trough to the program
  36. EXIT                         terminated batch job
  37. FEXIST <file>                checks if <file> exist. result is stored in
  38.                              parameter *C. (*C =1 file exist)
  39. GOTO <label>                 jumps to a label
  40. IF ... THEN ...              IF <val> <operator> <val> THEN <command>
  41.                              <operator> can be :
  42.                              =             equal
  43.                              ~             equal, case independent
  44.                              !             not equal
  45.                              >             greater than
  46.                              <             smaller than
  47.                              =>            greater or equal
  48.                              <=            smaller or equal
  49.                              $             contains the string
  50.                              
  51.                              
  52.                              valid parameters for <value> are:
  53.                              *B            current baudrate
  54.                              *C            result code of FEXIST or
  55.                                            DEXIST
  56.                              *CHR          the character pressed.
  57.                              *ASC          the ascii value of the charac-
  58.                                            ter pressed
  59.                              *TXT          string entered after an INPUT
  60.                                            command
  61.                              *F            users first name
  62.                              *L            users last name
  63.                              *P            users security level
  64.                              *G            users graphics mode (number)
  65.                              *T            time left for today
  66.                              &<n>          parameter n
  67.                              the & parameters can be defined in the data
  68.                              line which started the .DOR file or with a
  69.                              statement line.
  70. INPUT <type> [<len>] [<str>] allows the user to enter a line of text. the
  71.                              string entered will be stored in the *TXT
  72.                              parameter
  73.                              <type> can be
  74.                                ANY         all characters (ascii 32 .. 126)
  75.                                            are valid
  76.                                USER        to enter a user name
  77.                                PASSWORD    password, asterisks are echoed
  78.                                FILE        to enter a file name
  79.                              <len> is the maximum length of the line
  80.                              (default 80)
  81.                              <str> is a string with valid characters
  82.                              (default all ascii 32 .. 126)
  83. KEY                          wait for the user to press a key.
  84.                              the character pressed is stored in two param-
  85.                              eters:
  86.                              *CHR          the key pressed
  87.                              *ASC          the ascii value of the key
  88.                                            pressed
  89. LEVEL <number>               Increase, decreases or sets the security level
  90.                              LEVEL +10
  91.                              LEVEL -20
  92.                              LEVEL 30
  93. LOCAL <text>                 as SEND, but <text> only locally displayed.
  94. LOG <text>                   writes <text> to the system log file
  95. MENU <option> <data>         execute a QuickBBS ST menu option.
  96.                              <option> can be ALL the menu option type
  97.                              except numbers 0 to 4, 7 and 40.
  98.                              <data> is the data line you normally would
  99.                              use.
  100. PAUSE                        prompt and wait for a [Return]
  101. PROMPT <text>                identical to the SEND and ECHO commands,
  102.                              but leaves the cursor on the same line
  103. REN <old> <new>              rename a file
  104. SEND <text>                  sends <text> to the user. The text may con-
  105.                              tain * parameters and all the ^F and ^K
  106.                              codes.
  107. SETFLAG <flag>               sets a flag ON
  108. SHOW <file>                  displays <file> in the text file directory
  109. STATUS <on|off>              switches the status bar on or off
  110. SYSTEM <command>             execute <command> by directly accessing the
  111.                              command line interpreters. Works only with
  112.                              Craft, Mupfel and Gulam
  113. TIME                         Increases, decrease or sets time limit for the
  114.                              rest of the day. Works like LEVEL.
  115. WRITE <type>                 write a file depending on <type>,
  116.                              which can be
  117.                              LASTUSER.LOG, FORUM.DAT, or DORINFO1.DEF
  118. ə