home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PowerPlay 1998 November
/
PowerPlay1198.bin
/
Online
/
WINCIMIE
/
SCRIPTS.LIB
/
ISRAKAV.SCR
< prev
next >
Wrap
Text File
|
1997-05-08
|
2KB
|
92 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.
!
! IsraKav:
! Connect to IsraKav
! Success: returns %Success
! Failure: saves error msg in %FailureMsg and returns %Failure
!
!+V
! "4.0.1"
!-V
Logon_Attempts = 7;
Attempts = 7;
on cancel goto IsraKav_Cancelled;
show "Verbindungsaufbau mit IsraKav";
wait
"CONNECT^M" goto Below_2400,
"1200" goto Below_2400,
"2400" goto Send_2400
until 60;
send ".CSERVE" & %CR;
goto Wait_IsraKav;
Below_2400:
if Logon_Attempts = 0 goto IsraKav_Failed;
Logon_Attempts = Logon_Attempts - 1;
wait until 3;
send %CR & "D" & %CR;
wait
"***" goto Wait_IsraKav
until 100;
goto Below_2400;
Send_2400:
if Logon_Attempts = 0 goto IsraKav_Failed;
Logon_Attempts = Logon_Attempts - 1;
wait until 2;
send "@D" & %CR;
wait
"***" goto Wait_IsraKav
until 100;
goto Send_2400;
Wait_IsraKav:
if Attempts = 0 goto IsraKav_Failed;
wait
"TERMINAL=" goto Send_IsraKav_ID,
"@" goto Send_IsraKav_Address,
%mdm_Failure goto IsraKav_Failed,
"NOT OBTAINABLE" goto IsraKav_Unavailable,
"Host Name:" goto IsraKav_Success,
"User ID:" goto IsraKav_Success
until 85;
Attempts = Attempts - 1;
send "@D" & %CR;
goto Wait_IsraKav;
Send_IsraKav_ID:
wait until 5;
send "D1" & %CR;
goto Wait_IsraKav;
Send_IsraKav_Address:
show "IsraKav-Kennung wird ⁿbertragen...";
wait until 10;
send "3300045217" & %CR;
goto Wait_IsraKav;
IsraKav_Success:
send %CR;
exit %Success;
IsraKav_Failed:
define %FailureMsg = "IsraKav antwortet nicht";
exit %Failure;
IsraKav_Unavailable:
define %FailureMsg = "Israkav ist nicht verfⁿgbar";
exit %Failure;
IsraKav_Cancelled:
exit %Cancel;