home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Computer Buyer 1996 May
/
buyer-0596.iso
/
wincim
/
scripts.lib
/
EIRPAC.SCR
< prev
next >
Wrap
Text File
|
1995-12-05
|
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.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;