home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Frozen Fish 1: Amiga
/
FrozenFish-Apr94.iso
/
bbs
/
oct93
/
comm
/
4d-bbsdemo.lha
/
4D-BBSDemo
/
Docs
/
A2.ARexx_Cmds
< prev
next >
Wrap
Text File
|
1993-07-02
|
5KB
|
162 lines
Appendix 2:
4D-BBS ARexx Command List for 4D-BBS V2.86
All ARexx commands are run Async while the BBS is running. Extra caution
should be taken when sending ARexx commands to the BBS, when the BBS is NOT
in the ARexx door servor. Although problems should not arise from sending
commands Async while not in the ARexx door servor, some commands can cause
data to become garbled, or changed.
The default 4D-BBS ARexx port is "4D-BBS", but definable through the /a$
command line parameter.
($ are replaced by a string, # by a number)
Command Description
------------- ------------------------------------------------------------
message $ Send $ to both the main screen and the serial port. with \n
transmit $
print $
sendstring $ Send $ to both the main screen and the serial port. w/o \n
send $
msg $
sendmodem $ Send $ to just the serial, no main screen output.
screenout $ Send $ to main screen only
sendstatus $ Send $ to the status window, no serial/main output.
prompt $ Send $, read in a string from keyboard and serial.
query $
hotkey $ Send $, Read in one character keyboard/serial.
getchar $
queryY Will return Y on a return else keypress
queryN will return N on a return else keypress
quit Immediatley Stop & shutdown survor mode.
hangup Immediatley stop & hangup user
readfile $ Send $ file to both screen and serial.
sendfile $
readgra $ Send $ file, but append .ascii/.ansi depending on mode.
cls Send a clear screen
exit When in ARexx door servor mode, tells 4D-BBS door is
shutdown finished, and to continue.
goodbye
getvar # User/system information according to Starnet's standard.
getuser # User/system information according to Skyline's Standard.
userinfo # User information according to C-Net/TransAmiga Standard.
systeminfo # User information according to C-Net/TransAmiga Standard.
getsvar #
name Returns users name logged on the BBS.
continue prompts & waits for a key press.
checkabort checks for input by user & returns the keypress or NULL
checkforkey
waitchar # # [seconds] [microseconds] Will wait until the time
past or a keypress. Returns the keypress or TIMED
emulation Returns ASCII or ANSI
checkcarrier Tells whether user dumped or not.
bufferflush Clear the serial i/o buffer.
addtime # Adds (or subtracts if negative) # from users on-line time.
resetmodem Sends the init string defined in the system editor.
version Current version of the BBS in "4D-BBS V#.##xx" format
bbs
menu $ Execute a 4D-BBS Menu Command.
baud # Change baudrate to #.
loaduser $ Load user $ into the curruser structure.
RC = 1 if successful.
saveuser $ Save user in curruser structure to $.
RC = 1 if successful.
saydef # Will print the string from the def_say.t file
changescreen # Manipulates the screens and windows of 4D-BBS.
1-ScreenToFront 10-ActivateStatus
2-ScreenToBack 11-StatusToFront
3-MoveScreen 12-StatusToBack
13-MoveStatus
4-ActivateMain 14-SetStatusTitle
5-MainToFront 15-StatusIDCMPFlags
6-MainToBack
7-MoveMain 16-WBenchToFront
8-SetMainTitle 17-WBenchToBack
9-MainIDCMPFlags 18-Dragable Screen *
19-Interlace Screen *
20-HiRes Screen *
21-WBench Screen *
22-Custom Screen *
* Not implimented yet
iconify Iconify
logged Will return REMOTE or LOCAL
logon # Invokes a call to the logon function.
0-Not Logged 1-Local 2-Remote 3-Terminal
boardsopen # Open message board
transopen # Open file section
reloadboards Reload config file for the Boards
reloadfiles Reload config file for the Files
reloadsystem Reload system defaults
reloadall Reload all config files
readconfigs Reload config files. Boards, Systems, and dirs.
waitscreen Display the Wait Screen.
waitstats Display the Wait Status Screen.
systemstatus Return the system status
sysinit Intialize the system Parameters.
checkparam $ Check for single character parameter. RESULT = parameter,
TRUE if Param, No string, and FALSE if no parameter.
sendstatus $ Write to the status window
messqueue $ 'queue' a message to a user
rexxcommand $ Will open a output window & send the command to ARexx
rexxscript $ Will open a output window & run the script
spawn $ Will execute a ARexx script with out an output window