home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Media Gallery 1995 December
/
MG_1295.ISO
/
pcdirekt
/
kommunik
/
cserve
/
wincim
/
install
/
scripts.lib
/
CHILEPAC.SCR
next >
Wrap
Text File
|
1994-09-21
|
1KB
|
71 lines
!
! Copyright (c) 1994
! 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.
!
! Chilepac:
! Connect to Chilepac
! Success: returns %Success
! Failure: saves error msg in %FailureMsg and returns %Failure
!
!+V
! "3.5.1"
!-V
show "Connecting to Chilepac";
CSERVE_Sent = 0;
Tries = 5;
on cancel goto Return_Cancel;
wait until 50;
send %CR & %CR;
Wait_Chilepac:
if Tries = 0 goto Chilepac_Failure;
Tries = Tries - 1;
wait
"@" goto Send_CSERVE,
%mdm_Failure goto Chilepac_Failure,
"Host Name:" goto Return_Success,
"User ID:" goto Return_Success
until 80;
send %CR & %CR;
goto Wait_Chilepac;
Send_CSERVE:
if CSERVE_Sent = 1 goto Wait_Chilepac;
CSERVE_Sent = 1;
wait until 5;
show "Sending Chilepac address...";
send "CSERVE" & %CR;
goto Wait_Chilepac;
Chilepac_Failure:
define %FailureMsg = "Chilepac not responding";
exit %Failure;
Return_Cancel:
exit %Cancel;
Return_Success:
send %CR;
exit %Success;