home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
norge.freeshell.org (192.94.73.8)
/
192.94.73.8.tar
/
192.94.73.8
/
pub
/
computers
/
pcjr
/
comm
/
TELMT2-1.LZH
/
OPUS-A.SCR
< prev
next >
Wrap
Text File
|
1989-12-22
|
2KB
|
80 lines
; This is an advance version of OPUS.SCR
;
; 1. Check if BBS is processing mail
; 2. Quick log on by sending Ctrl-C and ESC to bypass welcome message
; 3. Go to message section and read messages automatically
; 4. Simulate Auto Download feature for SEAlink, Telink and Modem7
; 5. Automatically send ENTER key when you are told to do so
name = "Winfred Hu" ; put your name here
ON = 1
OFF = 0
AutoDownload = ON ; set this to OFF if you don't need
; Auto Download SEAlink, Telink and Modem7
when "Press ENTER to continue","^M"
when "try again","q^M" ; set response strings
count = 1
repeat ; wait for log on prompt
waitfor "first name","processing mail",2
if not found
put "^C~^[" ; put ^C, Esc, Enter
endif
if found=2 ; if BBS is processing mail
alarm "Processing mail" ; then alarm, hangup and stop
hangup
stop
endif
if count=20 ; quit if no response in 60 seconds
alarm "No response in 60 seconds"
hangup
stop
endif
count = count+1
until found
put name," y" ; put name and confirm
repeat ; wait for password request
waitfor "password",2
if not found
put "^C"
endif
until found
put "^&" ; put password (defined in Dial window)
repeat ; wait for main menu
waitfor "main menu:",2
if not found
put "^C"
endif
until found
put "m" ; select message section
waitfor "select",5
put "=" ; read messages
when "try again","" ; cancel this WHEN statement
if AutoDownload ; if ON then wait for download prompt
while connected
waitfor "mode: sealink","mode: telink","mode: modem7",15
if found
switch found
case 1: protocol="s"
case 2: protocol="t"
case 3: protocol="m"
endswitch
delay 20
receive protocol
endif
endwhile
else
repeat ; wait until disconnected
until not connected ; make use of WHEN "Press ENTER ..."
endif