home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC Direct 1997 April
/
970129_1439.ISO
/
CSMAIL
/
SCRIPTS.SC$
/
DATAPAK.SCR
< prev
next >
Wrap
Text File
|
1994-04-05
|
1KB
|
57 lines
!
! Copyright (c) 1993
! 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.
!
! DATAPAK:
! Connect to Datapak
! Success: returns %Success
! Failure: saves error msg in %FailureMsg and returns %Failure
!
!+V
! "3.4.1"
!-V
show "Connecting to Datapak Sweden";
Tries = 5;
on cancel goto Return_Cancel;
Wait_Datapak:
if Tries = 0 goto Datapak_Failure;
Tries = Tries - 1;
wait
"SERVICE" goto Send_Periods,
"DATAPAK:" goto Send_Datapak_Host,
"Host Name:" goto Return_Success,
"User ID:" goto Return_Success,
%mdm_Failure goto Datapak_Failure
until 80;
send "..." & %CR;
goto Wait_Datapak;
Send_Periods:
wait until 10;
send "..." & %CR;
goto Wait_Datapak;
Send_Datapak_Host:
show "Sending Datapak Sweden address...";
wait until 10;
send "7101064" & %CR;
goto Wait_Datapak;
Datapak_Failure:
define %FailureMsg = "Datapak Sweden not responding";
exit %Failure;
Return_Cancel:
exit %Cancel;
Return_Success:
send %CR;
exit %Success;