home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PowerPlay 1998 November
/
PowerPlay1198.bin
/
Online
/
WINCIMIE
/
SCRIPTS.LIB
/
CHILEPAC.SCR
< prev
next >
Wrap
Text File
|
1997-05-08
|
1KB
|
71 lines
!
! Copyright (c) 1997
! 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
! "4.0.1"
!-V
show "Verbindungsaufbau mit 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 "Chilepac-Kennung wird ⁿbertragen...";
send "CSERVE" & %CR;
goto Wait_Chilepac;
Chilepac_Failure:
define %FailureMsg = "Chilepac antwortet nicht";
exit %Failure;
Return_Cancel:
exit %Cancel;
Return_Success:
send %CR;
exit %Success;