home *** CD-ROM | disk | FTP | other *** search
- ' ┌──────────────────────────┐
- ' │ QSO script for 1stReader │
- ' │ May 15th, 1993 │
- ' └──────────────────────────┘
- '
- ' Note: This script is called by another script that first logs
- ' you into TBBS. Since TBBS is highly configurable by the
- ' sysop, most TBBS systems will require a custom script to
- ' log you into the system and open the QSO mail system.
- ' Once QSO has been called this script will work for ALL
- ' QSO systems.
-
- COMMENT "@DATE@ @TIME@ Opening QSO"
- TRANSMIT "@QMAIL@"
-
- :UPLD
- IF NOT REPLIES GOTO DOWNLOAD
- COMMENT "@DATE@ @TIME@ Uploading replies"
- WAITFOR "Command? "
- TRANSMIT "U"
- UPLOAD @REPDIR@@BBSID@.REP
- WAITFOR "file complete|uploaded archive"
- IF FOUND=1 THEN GOTO UPKILL
- IF FOUND=2 THEN GOTO UPERROR
- GOTO DOWNLOAD
-
- :UPKILL
- COMMENT "@DATE@ @TIME@ Deleting @BBSID@.REP"
- KILL @REPDIR@@BBSID@.REP
- TRANSMIT "^M"
-
- :UPERROR
- TRANSMIT "^M"
-
- :DOWNLOAD
- WAITFOR "Command? "
- IF SCR_REPLY THEN GOTO GOODBYE
- TRANSMIT "D"
- WAITFOR "messages (Y/N)?|no new mes"
- IF FOUND=1 THEN GOTO DLCONT
- TRANSMIT "^M"
- GOTO GOODBYE
-
- :DLCONT
- TRANSMIT "Y"
- COMMENT "@DATE@ @TIME@ Downloading messages"
- WAITFOR "@BBSID@.Q"
- DOWNLOAD @FILEDIR@@BBSID@.QWK
- WAITFOR "Command?" 20
-
- :GOODBYE
- TRANSMIT "G"
-
- :EXIT
- PAUSE 5
- HANGUP
-
- CAPTURE OFF
-
-