home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
100 Smash Win 95 Games
/
100SMASH.iso.7z
/
100SMASH.iso
/
compsv32
/
scripts.lib
/
POSSERVE.SCR
< prev
next >
Wrap
Text File
|
1996-09-23
|
1KB
|
61 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.
!
! Pos-Serve:
! Connect to Pos-Serve
! Success: returns %Success
! Failure: saves error msg in %FailureMsg and returns %Failure
!
!+V
! "3.9.1"
!-V
show "Connecting to HANJIN-NET";
Tries = 5;
on cancel goto Return_Cancel;
Wait_PosServe:
if Tries = 0 goto PosServe_Failure;
Tries = Tries - 1;
wait
": Q ]" goto Send_CNS,
%mdm_Failure goto PosServe_Failure
until 80;
goto Wait_PosServe;
Wait2_PosServe:
if Tries = 0 goto PosServe_Failure;
Tries = Tries - 1;
wait
"Name:" goto Return_Success,
%mdm_Failure goto PosServe_Failure
until 80;
goto Wait_PosServe;
Send_CNS:
wait until 5;
show "Sending HANJIN-NET address...";
send "cns" & %CR;
goto Wait2_PosServe;
PosServe_Failure:
define %FailureMsg = "HANJIN-NET not responding";
exit %Failure;
Return_Cancel:
exit %Cancel;
Return_Success:
exit %Success;