home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PowerPlay 1996 July
/
PowerPlay0796.img
/
cserve
/
scripts.lib
/
EIRPAC.SCR
< prev
next >
Wrap
Text File
|
1995-11-10
|
2KB
|
62 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.
!
! EIRPAC:
! Connect to EIRPAC
! Success: returns %Success
! Failure: saves error msg in %FailureMsg and returns %Failure
!
!+V
! "3.8"
!-V
show "Verbindungsaufbau mit dem EIRPAC-Netzwerk";
Tries = 5;
on cancel goto Return_Cancel;
send "..." & %CR;
Wait_EIRPAC:
if Tries = 0 goto EIRPAC_Failure;
Tries = Tries - 1;
wait
"Host Name:" goto Return_Success,
"EIRPAC:" goto Send_NUI,
%mdm_Failure goto EIRPAC_Failure
until 80;
send "..." & %CR;
if Tries > 3 goto Wait_EIRPAC;
Wait_EIRPAC_Connect:
wait
"EIRPAC: call" goto Return_Success,
"Host Name:" goto Return_Success,
%mdm_Failure goto EIRPAC_Failure
until 100;
send %CR;
if Tries = 0 goto EIRPAC_Failure;
Tries = Tries - 1;
goto Wait_EIRPAC_Connect;
Send_NUI:
show "EIRPAC-Kennung wird ⁿbertragen...";
wait until 10;
send "r 37456178" & %CR;
goto Wait_EIRPAC_Connect;
EIRPAC_Failure:
define %FailureMsg = "EIRPAC antwortet nicht";
exit %Failure;
Return_Cancel:
exit %Cancel;
Return_Success:
exit %Success;