home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Media Gallery 1996 January
/
MG_0196.ISO
/
pcdirekt
/
kommunik
/
cserve
/
wincim-d
/
disk1
/
scripts.lib
/
MERCURY.SCR
< prev
next >
Wrap
Text File
|
1994-12-29
|
1KB
|
54 lines
!
! Copyright (c) 1994
! 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.
!
! MERCURY:
! Connect to Mercury
! Success: returns %Success
! Failure: saves error msg in %FailureMsg and returns %Failure
!
!+V
! "3.5.2"
!-V
Mercury_NUA = ",,UKCNS";
show "Verbindungsaufbau mit dem Mercury-5000-Netz";
Tries = 5;
on cancel goto Return_Cancel;
wait until 15;
send %CR & %CR & %CR & %CR;
Wait_Mercury:
if Tries = 0 goto Mercury_Failure;
Tries = Tries - 1;
wait
"SERVICE" goto Send_Mercury_NUA,
"FAILURE" goto Wait_Mercury,
"Host Name:" goto Return_Success
until 80;
send %CR;
goto Wait_Mercury;
Send_Mercury_NUA:
show "Mercury-User-Adresse ⁿbertragen...";
send Mercury_NUA & %CR;
goto Wait_Mercury;
Mercury_Failure:
define %FailureMsg = "Mercury antwortet nicht";
exit %Failure;
Return_Cancel:
exit %Cancel;
Return_Success:
send %CR;
exit %Success;