home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
GameStar 1998 November
/
GAMESTAR11A.ISO
/
Diverses
/
CServe
/
CS304_D
/
scripts.lib
/
ARGNET.SCR
next >
Wrap
Text File
|
1997-07-08
|
2KB
|
67 lines
!
! Copyright (c) 1997
! 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.
!
! CPS_ARG:
! Connect to CPS_ARG
! Success: returns %Success
! Failure: saves error msg in %FailureMsg and returns %Failure
!
!+V
! "4.0.2"
!-V
show "Verbindungsaufbau mit CompuServe Argentinien";
Tries = 5;
on cancel goto Return_Cancel;
FailStr = "CompuServe Argentinien antwortet nicht";
Wait_CPS_ARG:
if Tries = 0 goto CPS_ARG_Failure;
wait
%mdm_Failure goto NO_Carrier,
"% Connection Refused" goto CPS_ARG_Failure,
"Username:" goto Send_CPS_ARG_Host,
"gw-1" goto send_access,
"Password:" goto send_Password,
"User ID:" goto Return_Success,
"Host Name:" goto Return_Success
until 150;
send %CR;
Tries = Tries - 1;
goto Wait_CPS_ARG;
Send_CPS_ARG_Host:
wait until 15;
send "cps" & %CR;
goto Wait_CPS_ARG;
send_access:
wait until 15;
send "cps-test" & %CR;
goto Wait_CPS_ARG;
send_Password:
wait until 15;
send "cis" & %CR;
goto Wait_CPS_ARG;
NO_Carrier:
FailStr = "Modemverbindung wurde abgebrochen";
CPS_ARG_Failure:
define %FailureMsg = FailStr;
exit %Failure;
Return_Cancel:
exit %Cancel;
Return_Success:
send %CR;
exit %Success;