home *** CD-ROM | disk | FTP | other *** search
/ PC PowerPlay 61 / CDPowerplay61Disc2.iso / OUTLINE / GAUDIO.SC_ / GAUDIO.SC
Encoding:
Text File  |  1994-03-11  |  3.3 KB  |  214 lines

  1. !--------------------------------------------------------
  2. !
  3. !     Script Modem Standard pour SIAM
  4. !     Version Audiotel ou AccΦs directe
  5. !     (C) Computer Answer Line 1994
  6. !           
  7. !     version : 2.2
  8. !
  9. !--------------------------------------------------------
  10. !
  11. !     séquence de déconnexion
  12. !
  13. *Pause 90
  14. *Xmit "+++"
  15. *Pause 180
  16. *Xmit "ATH0\13"
  17. *Pause 120
  18. *Exit 0
  19. !
  20. !--------------------------------------------------------
  21. !
  22. !     séquence de connexion
  23. !
  24. -label 0 
  25. ~DEBUG~
  26. CanBtn 64
  27. User 1 "~PREF~~NBA~"
  28. User 2 "~CODEA~"
  29. Display 1
  30. ShowPrice "Tarif: 8,76 F TTC α la connexion, puis 2,19 F TTC / Min"
  31. DsplyMsg "Teste le Modem..."
  32. CanBtn 63
  33. SetTries 0
  34. Transport 9 ~TRANSPORT~
  35. MatchStr 1 2 "OK"
  36. !
  37. -Label 1
  38. !
  39. Xmit "~RESETSEQ~\13"
  40. Wait 200
  41. Xmit "+++"
  42. Wait 200
  43. Xmit "ATQ0\13"
  44. Wait 200
  45. IncTries
  46. IfTries 2 60
  47. Jump 1
  48. !
  49. -Label 2
  50. !
  51. Flush
  52. MatchStr 1 3 "OK"
  53. MatchStr 2 3 "ERR"
  54. DsplyMsg "Initialisation du Modem..."
  55. Xmit "~INITSEQ~\13"
  56. Wait 500
  57. Jump 60
  58. !
  59. -Label 3
  60. DsplyMsg "NumΘrotation en cours."
  61. MatchStr 1 59 "No Carrier"
  62. MatchStr 2 4 "Connect"
  63. MatchStr 3 54 "NO DIALTONE"
  64. MatchStr 4 53 "DELAYED"
  65. MatchStr 5 53 "FORBID"
  66. MatchStr 6 52 "BUSY"
  67. MatchStr 7 20 "CARRIER"
  68. MatchStr 8 12 "PROTOCOL"
  69. Xmit "~IMP/MULTF~\13"
  70. User 1 ""
  71. User 3 ""
  72. Wait 4000
  73. Jump 54
  74. !
  75. -Label 4
  76. !
  77. MatchStr 1 31 "PASS:"
  78. MatchStr 2 61 "NO CARRIER"
  79. MatchStr 3 11 "SIAM GO"
  80. MatchStr 4 57 "LIB"
  81. MatchStr 5 32 "kermit"
  82. MatchStr 6 33 "ESCAPE="
  83. MatchStr 7 11 "MWS GO"
  84. Wait 3600
  85. Jump 57
  86. !
  87. -Label 5
  88. DsplyMsg "^1 - ^3"
  89. Wait 3600
  90. Jump 57
  91. !
  92. -Label 11
  93. !
  94. Exit 0
  95. !
  96. -Label 12
  97. MatchStr 9 13 "NONE"
  98. MatchStr 10 14 "LAPM"
  99. MatchStr 11 15 "ALT"
  100. MatchStr 12 14 "LAP-M"
  101. Wait 500
  102. Jump 5
  103. !
  104. -Label 13
  105. User 1 "Compression : aucune"
  106. Jump 5
  107. !
  108. -Label 14
  109. User 1 "Compression : LAP-M"
  110. Jump 5
  111. !
  112. -Label 15
  113. User 1 "Compression : MNP"
  114. Jump 5
  115. !
  116. -Label 20
  117. MatchStr 9 21 "1200"
  118. MatchStr 10 22 "2400"
  119. MatchStr 11 23 "9600"
  120. MatchStr 12 24 "14400"
  121. Wait 500
  122. Jump 5
  123. !
  124. -Label 21
  125. User 3 "Connexion : 1200 bds"
  126. Jump 5
  127. !
  128. -Label 22
  129. User 3 "Connexion : 2400 bds"
  130. Jump 5
  131. !
  132. -Label 23
  133. User 3 "Connexion : 9600 bds"
  134. Jump 5
  135. !
  136. -Label 24
  137. User 3 "Connexion : 14400 bds"
  138. Jump 5
  139. !
  140. -Label 31
  141. Xmit "^2\13"
  142. MatchStr 1 11 "SIAM GO"
  143. MatchStr 2 61 "NO CARRIER"
  144. MatchStr 3 57 "LIB"
  145. MatchStr 4 32 "kermit"
  146. MatchStr 5 33 "ESCAPE="
  147. MatchStr 6 11 "MWS GO"
  148. Wait 400
  149. Jump 57
  150. !
  151. -Label 32
  152. Xmit "c\13"
  153. Wait 400
  154. Jump 57
  155. !
  156. -Label 33
  157. Xmit "\01l"
  158. Wait 400
  159. Jump 57
  160. !
  161. -Label 52
  162. Alert 63 "Toutes les lignes sont occupΘes! Essayez plus tard!"
  163. Jump 63
  164. !
  165. -Label 53
  166. Alert 63 "Echec en numΘrotation ! Votre modem m'empΩche de numΘroter (Liste rouge). RΘinitialisez-le et recommencez !"
  167. Jump 63
  168. !
  169. -Label 54
  170. Alert 63 "ProblΦme de numΘrotation! (N'oubliez pas le 0 si vous passez par un standard!)"
  171. Jump 63
  172. !
  173. -Label 55
  174. Alert 63 "Ce modem n'est pas totalement compatible Hayes !"
  175. Jump 63
  176. !
  177. -Label 56
  178. !
  179. Alert 63 "Pas de synchronisation avec le serveur. Recommencez."
  180. Jump 63
  181. !
  182. -Label 57
  183. !
  184. Alert 63 "ProblΦme avec l'accΦs. Essayez plus tard."
  185. Jump 63
  186. !
  187. -Label 59
  188. !
  189. Alert 63 "Le ^1 est indisponible. Essayez plus tard."
  190. exit -1
  191. !
  192. -Label 60
  193. !
  194. Alert 63 "Le modem ne rΘpond pas."
  195. exit -1
  196. !
  197. -Label 61
  198. !
  199. Alert 63 "Je n'arrive pas α Θtablir la connexion."
  200. exit -1
  201. !
  202. -Label 63
  203. !
  204. Pause 90
  205. Xmit "+++"
  206. Pause 180
  207. Xmit "ATH\13"
  208. exit -1
  209. !
  210. -Label 64
  211. !
  212. exit -1
  213.  
  214.