home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC/CD Gamer UK 30
/
PCGAMER30.bin
/
wincim
/
scripts.lib
/
CHILEPAC.SCR
next >
Wrap
Text File
|
1995-12-05
|
1KB
|
71 lines
!
! Copyright (c) 1995
! 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.8.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;