home *** CD-ROM | disk | FTP | other *** search
/ Curio City 9 / CURIO9.bin / pc / internet / win / w95nim / program / data.z / CSN.SCR < prev    next >
Text File  |  1997-09-10  |  5KB  |  186 lines

  1. #
  2. #  CompuServe Network
  3. #
  4.  
  5. on cancel goto Return_Cancel;
  6. ROAD = "";
  7. CR = "\x0D";
  8.  
  9. show "CompuServe Networkへ接続待機中...";
  10. send CR;
  11. wait until 40;
  12.  
  13. WaitMsg = "\x0Dしばらくしてからやりなおしてください";
  14.  
  15. show "CompuServe Network" & ROAD & "に接続開始";
  16.  
  17. Tries = 8;
  18. Wait_FENICS:
  19.     if Tries == 0 goto Return_Failure;
  20.     Tries = Tries - 1;
  21.     wait
  22.         "Host Name:"    goto Send_C_NIM_Host,
  23.         "N\xE1\xEDe:\xA0\xA0"    goto Send_C_NIM_Host,
  24.         "Connection-ID  --->"    goto Send_SHC_Host,
  25.         "User-ID  --->"        goto Start_LOGIN,
  26.         "Clear DTE"        goto Send_C_NIM_Host2,
  27.         "Clear OCC"        goto Return_Failure_OCC,
  28.         "Clear PAD"        goto Send_C_NIM_Host2,
  29.         "Clear NA"        goto Return_Failure_NA,
  30.         "Clear NP"        goto Return_Failure_NP,
  31.         "Clear NC"        goto Return_Failure_NC,
  32.         "Clear DER"        goto Return_Failure_DER,
  33.         "Clear RPE"        goto Return_Failure_RPE,
  34.     until 80;
  35.     goto Wait_FENICS;
  36.  
  37. Send_C_NIM_Host:
  38.     show "ホストネーム送信中...";
  39.     wait until 10;
  40.     send "NIFGUI" & CR; 
  41.     goto Wait_FENICS;
  42. Send_C_NIM_Host2:
  43.     show "センターホストに再接続中...";
  44.     wait until 10;
  45.     goto Wait_FENICS;
  46. Send_SHC_Host:
  47.     show "コネクションID送出中...";
  48.     wait until 10;
  49.     send "SHP" & CR;
  50.     goto Wait_FENICS;
  51.     
  52. Start_LOGIN:
  53. UID = %UserID;
  54. Tries = 5;
  55. Send_UID:
  56.     show "ユーザーID送出中...";
  57.     wait until 10;
  58.     send UID & CR;
  59. Wait_LOGIN:
  60.     if Tries == 0 goto Return_Failure;
  61.     Tries = Tries - 1;
  62.     wait
  63.         "User-ID  --->"            goto Send_UID,
  64.         "User-ID Error"            goto Enter_UID,
  65.         "Password --->"            goto Start_PSW,
  66.         "◆あなたのIDは都合により"    goto Return_ID_NG_1,
  67.         "保守作業の"    goto Return_MENTE2,
  68.         "Clear DTE"            goto Return_Failure_DTE,
  69.         "Clear PAD"            goto Return_Failure_PAD,
  70.         "Clear NC"            goto Return_Failure_NC,
  71.     until 80;
  72.     goto Wait_LOGIN;
  73.  
  74. Enter_UID:
  75.     input "正しいユーザーIDを入力して下さい" UID EON 1200;
  76.     if UID goto Wait_LOGIN;
  77.     errexit "ユーザーID入力タイムアウト";
  78.  
  79. Start_PSW:
  80.     PWD = %Password;
  81.     Tries = 5;
  82. Send_PSW:
  83.     show "パスワード送出中...";
  84.     wait until 10;
  85.     send PWD & CR;
  86. Wait_PASSWORD:
  87.     if Tries == 0 goto Return_Failure;
  88.     Tries = Tries - 1;
  89.     wait
  90.         "Password --->"            goto Send_PSW,
  91.         "Password ERROR"        goto Enter_PSW,
  92.         %ESC & "I"            goto Return_Success,
  93.         "大変混雑"            goto Return_BUSY,
  94.         "◆あなたのIDは都合により"    goto Return_ID_NG_1,
  95.         "定期保守"            goto Return_MENTE,
  96.         "◆只今の時間はご利用"        goto Return_MHA,
  97.         "◆二重ログイン"        goto Return_LOGIN,
  98.         "Clear DTE"            goto Return_Failure_DTE,
  99.         "Clear PAD"            goto Return_Failure_PAD,
  100.         "Clear NC"            goto Return_Failure_NC,
  101.     until 80;
  102.     goto Wait_PASSWORD;
  103.  
  104. Enter_PSW:
  105.     input "正しいパスワードを入力して下さい" PWD EOFF 1200;
  106.     if PWD goto Wait_PASSWORD;
  107.     errexit "パスワード入力タイムアウト";
  108.  
  109. Return_Success:
  110.   show "CompuServe Network" & ROAD & "に接続しました";
  111.   exit;
  112.  
  113. Return_Failure:
  114.   errexit "CompuServe Network" & ROAD & "に接続できません";
  115.  
  116. Return_Failure_DTE:
  117.   errexit "ホストから着信が拒否されました。"
  118.       & WaitMsg;
  119.  
  120. Return_Failure_OCC:
  121.   errexit "ホストビジー(ホストの論理回線がすべて使用中です)";
  122.  
  123. Return_Failure_PAD:
  124.   errexit "ホストからの解放要求により通信を切断した。"
  125.           & WaitMsg;
  126.  
  127. Return_Failure_NA:
  128.   errexit "接続規制(当該ホストへの接続が禁止されています)";
  129.  
  130. Return_Failure_NP:
  131.   errexit "欠番(当該ホストのセンターアドレスは存在しません)";
  132.  
  133. Return_Failure_NC:
  134.   errexit "接続回線が一時的に込み合っていて、ご使用できません"
  135.           & WaitMsg;
  136. Return_Failure_DER:
  137.   errexit "接続不可(当該ホストは定期メンテナンス、あるいは障害中です)"
  138.           & WaitMsg;
  139. Return_Failure_RPE:
  140.   errexit "ホストの手順エラーによる切断(リモート手順誤り)"
  141.           & WaitMsg;
  142. Return_BUSY:
  143.   errexit "◆現在、サ-ビスは大変混雑しております... ◆";
  144.  
  145. Return_ID_NG_1:
  146.   errexit 
  147.   "◆あなたのIDは都合によりご利用頂けません。" &
  148.   "カスタマーサポートへご連絡ください◆" &
  149.   CR &
  150.   "  カスタマーサポート  +81-3-5471-5806(日本時間   平日9時~19時)" &
  151.   CR &
  152.   "  米国内フリーダイヤル  1-800-455-5423(東部標準時間 平日9時~17時)" &
  153.   CR &
  154.   CR &
  155.   "  韓国住所にてIDをご取得頂いた方は下記の現地代理店にご連絡下さい。" &
  156.   CR &
  157.   "  Hanjin Information Systems & Telecommunication Co.,Ltd." &
  158.   CR &
  159.   "  韓国内フリーダイヤル 080-090-1435" &
  160.   CR &
  161.   CR &
  162.   "  オーストラリア・ニュージーランド住所にてIDをご取得頂いた方は" &
  163.   "  下記の現地代理店にご連絡下さい。" &
  164.   CR &
  165.   "  Fujitsu Australia Limited" &
  166.   CR &
  167.   "  カスタマーサポート  02-410-4262";
  168.  
  169. Return_MENTE:
  170.   errexit 
  171.   "只今の時間、定期保守をしております。";
  172.  
  173. Return_MENTE2:
  174.   errexit 
  175.   "◆保守作業のためしばらくの間ご利用いただけません◆";
  176.  
  177. Return_MHA:
  178.   errexit "◆只今の時間はご利用になれません◆";
  179.  
  180. Return_LOGIN:
  181.   errexit "◆二重ログインです◆";
  182.  
  183.  
  184. Return_Cancel:
  185.   errexit "ユーザー入力により取消しました";
  186.