home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PowerPlay 1998 November
/
PowerPlay1198.bin
/
Online
/
WINCIMIE
/
SCRIPTS.LIB
/
TTNNET.SCR
< prev
next >
Wrap
Text File
|
1997-05-08
|
1KB
|
66 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.
!
! TTN-NET:
! Connect to TTN-NET
! Success: returns %Success
! Failure: saves error msg in %FailureMsg and returns %Failure
!
!+V
! "4.0.1"
!-V
Attempts = 5;
TTN_Address = "CNST";
on cancel goto Return_Cancel;
show "Verbindungsaufbau mit TTN-Net";
Wait_TTN:
if Attempts = 0 goto Return_Failure;
Attempts = Attempts - 1;
wait
"9600" goto Connect_9600,
"2400" goto Connect_Low,
"1200" goto Connect_Low,
"CONNECT^M" goto Connect_Low,
"@" goto Send_Address,
"Host Name" goto Return_Success,
"User ID" goto Return_Success,
%mdm_Failure goto Return_Failure
until 180;
send %CR;
goto Wait_TTN;
Connect_9600:
send "@^M";
goto Wait_TTN;
Connect_Low:
send "^M.^M";
goto Wait_TTN;
Send_Address:
show "CompuServe-Adresse wird ⁿbertragen...";
wait until 10;
send TTN_Address & %CR;
goto Wait_TTN;
Return_Failure:
define %FailureMsg = "TTN-Net antwortet nicht";
exit %Failure;
Return_Cancel:
exit %Cancel;
Return_Success:
send %CR;
exit %Success;