home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
100 Smash Win 95 Games
/
100SMASH.iso.7z
/
100SMASH.iso
/
compsrv
/
scripts.lib
/
EIRPAC.SCR
< prev
next >
Wrap
Text File
|
1996-09-23
|
2KB
|
62 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.
!
! EIRPAC:
! Connect to EIRPAC
! Success: returns %Success
! Failure: saves error msg in %FailureMsg and returns %Failure
!
!+V
! "3.9.1"
!-V
show "Connecting to EIRPAC";
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 "Sending EIRPAC address...";
wait until 10;
send "r 37456178" & %CR;
goto Wait_EIRPAC_Connect;
EIRPAC_Failure:
define %FailureMsg = "EIRPAC not responding";
exit %Failure;
Return_Cancel:
exit %Cancel;
Return_Success:
exit %Success;