home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Billboard Music Guide 1997
/
BMG_10.iso
/
compsrv
/
scripts.lib
/
SEVA.SCR
< prev
next >
Wrap
Text File
|
1996-09-23
|
1KB
|
51 lines
!
! Copyright (c) 1996
! by CompuServe Incorporated, Columbus, Ohio
!
! The information in this software is subject to change without
! notice and should not be construed as a commitment by CompuServe.
!
! SEVA:
! Connect to SEVA
! Success: returns %Success
! Failure: saves error msg in %FailureMsg and returns %Failure
!
!+V
! "3.9.1"
!-V
on cancel goto Return_Cancel;
show "Connecting to SEVA";
Tries = 5;
send %CR;
Wait_SEVA:
Tries = Tries - 1;
if Tries = 0 goto SEVA_Failure;
wait
"SEVA LOGIN:" goto Send_SEVA_Login,
"CONNESSO" goto Return_Success,
%mdm_Failure goto SEVA_Failure,
"Host Name:" goto Return_Success
until 80;
send %CR;
goto Wait_SEVA;
Send_SEVA_Login:
show "Sending SEVA address...";
send "CSERVE-41" & %CR;
goto Wait_SEVA;
SEVA_Failure:
define %FailureMsg = "SEVA not responding";
exit %Failure;
Return_Cancel:
exit %Cancel;
Return_Success:
exit %Success;