home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
3,500 Cliparts Vectoriels 2
/
3500_V2.iso
/
compu
/
cs201
/
scripts.lib
/
SCITOR.SCR
< prev
next >
Wrap
Text File
|
1996-06-04
|
2KB
|
74 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.
!
! SCITOR:
! Connect to SCITOR
! Success: returns %Success
! Failure: saves error msg in %FailureMsg and returns %Failure
!
!+V
! "3.8.3"
!-V
show "Connecting to Scitor";
Tries = 3;
MoreTries = 5;
on cancel goto Return_Cancel;
send "." & %CR;
Wait_SCITOR:
if Tries = 0 goto SCITOR_Failure;
Tries = Tries - 1;
wait
"SITA NETWORK: " goto Send_NUI,
%mdm_Failure goto SCITOR_Failure
until 80;
send "." & %CR;
goto Wait_SCITOR;
Send_NUI:
show "Sending Scitor address...";
wait until 10;
send "NUI 19730001" & %CR;
Wait_Again:
if MoreTries = 0 goto SCITOR_Failure;
MoreTries = MoreTries - 1;
wait
"Host Name:" goto Return_Success,
"SITA NETWORK: password" goto Send_Password,
"SITA NETWORK: network" goto Send_Identifier,
%mdm_Failure goto SCITOR_Failure
until 50;
send %CR;
goto Wait_Again;
Send_Password:
show "Sending Scitor Password...";
wait until 10;
send "KHS9NE" & %CR;
goto Wait_Again;
Send_Identifier:
show "Sending SCITOR Identifier...";
wait until 10;
send "2111855" & %CR;
goto Wait_Again;
SCITOR_Failure:
define %FailureMsg = "Scitor not responding";
exit %Failure;
Return_Cancel:
exit %Cancel;
Return_Success:
exit %Success;