home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DP Tool Club 8
/
CDASC08.ISO
/
VRAC
/
WCLAW893.ZIP
/
CHICOBBS.SCR
< prev
next >
Wrap
Text File
|
1993-08-05
|
3KB
|
110 lines
;
;
; <<<<< WCLAWNET QMODEM SCRIPT >>>>>
;
;
; **** Script to Download Mail using TNET/QModem combination. ****
;
;
; NOTE: This script uses the directory C:\MAILBOX\ as the .QWK
; destination directory and .REP source directory during
; the packet transfers. If your PATH\DIRECTORY is different
; you will have to edit this script accordingly
;
;
TurnON 8_BIT
TurnOFF LINEFEED
TurnOFF XON/XOFF
TurnON NOISE
TurnON SCROLL
TurnOFF PRINT
TurnOFF SPLIT
TurnON STATUSLN
TurnOFF DOORWAY
TIMEOUT 120 ERROREND ; Set Waitfor for 120 seconds
LOG C:\WC30\LOGS\MAILRUN.LOG ; Tells QModem to LOG all activity
SEND "ATZ^M" ; Sends RESET string to Modem
WAITFOR "OK"
Dial "TWCLAWNET" ; Dials the entry named "WCLAWNET" in the phone directory.
; Place WCLAWNET and 1-510-799-2921 in your dialing
; directory. The HUB supports up to 14400 baud.
Waitfor "CONNECT"
WAITFOR "name?"
DELAY 200
SEND "!CHICO BBS X41J6^M" ; Sends First & Last name and password.
; Enter your net name and pw here. Be
; sure you already have an account as a
; Network Sysop on the hub you are calling.
EXIST C:\MAILBOX\CTOBBS.REP DL/UL ; If.REP packet exists go to DL/UL.
; If not, continue.
DL: ; Routine for Downloading the QWK packet with incoming mail
Waitfor ":" ; when there is no REP packet with outgoing mail.
Delay 100
Send "D"
If "messages found: $0" = "messages found: 0" GOODBYE
WHEN "download!" END
Waitfor "done"
Delay 100
Send "G"
Delay 2000
Download Z C:\MAILBOX\ ; Change to where you want the .QWK sent
Waitfor "before disconnect: 10^H^H10^H^H 9^H^H 8"
Delay 100
Send "H"
SYSTEM Y
DL/UL: ; Routine for Downloading the QWK packet with
Waitfor ":" ; incoming mail with a subsequent REP packet
Delay 100 ; outgoing mail upload.
Send "D"
WHEN "download!" UL
Waitfor "done"
Delay 100
Send "Y"
Delay 2000
Download Z C:\MAILBOX\ ; Change to where you want the .QWK sent
UL:
Waitfor ":"
Delay 100
Send "U"
Delay 100
UPLOAD Z C:\MAILBOX\CTOBBS.REP ; .REP name to UpLoad
DOS "DEL C:\MAILBOX\CTOBBS.REP" ; .REP name to DELete
Waitfor "before disconnect: 10^H^H10^H^H 9^H^H 8"
Delay 100
Send "H"
SYSTEM Y
GOODBYE: ; Routine for logging off quickly if there are no
Waitfor "[Q]uit" ; new messages (will not download useless packet
Delay 100 ; with the BBS opening and closing screens only).
Send "G"
SYSTEM Y
END: ; Normal routine for shutting down QModem and
Waitfor "Q]:" ; returning to TNET.
Delay 100
Send "G"
SYSTEM Y
ERROREND: ; Fault routine to shut down QModem if something
Send "ATH" ; happens during the session that causes the HUB to
Turnoff Capture ; lock up or the connection gets disturbed.
Turnoff LOG
SYSTEM Y