home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Crawly Crypt Collection 1
/
crawlyvol1.bin
/
bbs
/
dor_man
/
dorman.txt
Wrap
Text File
|
1991-11-27
|
7KB
|
118 lines
Hello all QuickBBS ST sysops,
As an enthusiastic user of Jon's QuickBBS, I just started exploring the
powerful batch processing language of the DOR files.
For my one use I made this summary as a quick reference. It contains all
the option up to the current version of QuickBBS ST (1.06)
I hope everyone feels encouraged to get even more out of your bbs by
using DOR files, like questionnaire's, remote control etc.
I think that it would be nice to use this international area to post all
creative programming as example's for other sysops. What do you think Jon
and Theo ?
ALPHABETICAL SUMMARY OF QUICKBBS ST 1.06 DOR FILE COMMANDS
; rest of the line is considered to be a com-
ment
:<label> the colon(:) defines a label
CD <path> change directory
CL <command> sets the current command line
CLS clear screen, if the user has screen clearing
switched on
CLRFLAG <flag> sets a flag OFF
COPY <scr> <dest> copies a file
DEXIST <path> same as fexist but for directories
DEL <spec> delete files matching <spec>
DLIMIT Increases, decreases or sets download limit
for the rest of the day
ECHO <text> same as the SEND command
EXEC <prg> [<cl>] executes <prg>. If no command line is defined
in <cl>, the command line defined with the CL
command will be passed trough to the program
EXIT terminated batch job
FEXIST <file> checks if <file> exist. result is stored in
parameter *C. (*C =1 file exist)
GOTO <label> jumps to a label
IF ... THEN ... IF <val> <operator> <val> THEN <command>
<operator> can be :
= equal
~ equal, case independent
! not equal
> greater than
< smaller than
=> greater or equal
<= smaller or equal
$ contains the string
valid parameters for <value> are:
*B current baudrate
*C result code of FEXIST or
DEXIST
*CHR the character pressed.
*ASC the ascii value of the charac-
ter pressed
*TXT string entered after an INPUT
command
*F users first name
*L users last name
*P users security level
*G users graphics mode (number)
*T time left for today
&<n> parameter n
the & parameters can be defined in the data
line which started the .DOR file or with a
statement line.
INPUT <type> [<len>] [<str>] allows the user to enter a line of text. the
string entered will be stored in the *TXT
parameter
<type> can be
ANY all characters (ascii 32 .. 126)
are valid
USER to enter a user name
PASSWORD password, asterisks are echoed
FILE to enter a file name
<len> is the maximum length of the line
(default 80)
<str> is a string with valid characters
(default all ascii 32 .. 126)
KEY wait for the user to press a key.
the character pressed is stored in two param-
eters:
*CHR the key pressed
*ASC the ascii value of the key
pressed
LEVEL <number> Increase, decreases or sets the security level
LEVEL +10
LEVEL -20
LEVEL 30
LOCAL <text> as SEND, but <text> only locally displayed.
LOG <text> writes <text> to the system log file
MENU <option> <data> execute a QuickBBS ST menu option.
<option> can be ALL the menu option type
except numbers 0 to 4, 7 and 40.
<data> is the data line you normally would
use.
PAUSE prompt and wait for a [Return]
PROMPT <text> identical to the SEND and ECHO commands,
but leaves the cursor on the same line
REN <old> <new> rename a file
SEND <text> sends <text> to the user. The text may con-
tain * parameters and all the ^F and ^K
codes.
SETFLAG <flag> sets a flag ON
SHOW <file> displays <file> in the text file directory
STATUS <on|off> switches the status bar on or off
SYSTEM <command> execute <command> by directly accessing the
command line interpreters. Works only with
Craft, Mupfel and Gulam
TIME Increases, decrease or sets time limit for the
rest of the day. Works like LEVEL.
WRITE <type> write a file depending on <type>,
which can be
LASTUSER.LOG, FORUM.DAT, or DORINFO1.DEF
ə