home *** CD-ROM | disk | FTP | other *** search
/ Computer Music Interactif 7 / cd.iso / pc / PC / Internet / Win3x / data1.cab / FexFiles / SCRIPTS / TELETEL.SCR < prev   
Encoding:
Text File  |  1999-10-26  |  3.8 KB  |  243 lines

  1. !--------------------------------------------------------
  2. !
  3. !     Script General TÈlÈtel / TVR France Explorer ou minitel
  4. !
  5. !     (C) France Multimedia 1996-1998
  6. !
  7. !--------------------------------------------------------
  8. !
  9. !     sÈquence de dÈconnexion
  10. !     -----------------------
  11. !
  12. *Pause 90
  13. *Xmit "+++"
  14. *Pause 180
  15. *Xmit "ATH0\13"
  16. *Pause 120
  17. *Exit 0
  18. !
  19. !--------------------------------------------------------
  20. !
  21. !     sÈquence de connexion
  22. !     ---------------------
  23. !
  24.  
  25. -Label 0
  26. ~DEBUG~
  27. CanBtn 64
  28. User 1 "~PREF~~NBA~"
  29. User 2 "~CODEA~"
  30. Display 2
  31. SetBkPict 30000
  32. DsplyPic 100
  33. DsplyMsg "Teste le Modem..."
  34. Pause 30
  35. CanBtn 63
  36. SetTries 0
  37. Transport 9 ~TRANSPORT~
  38. Flush
  39. MatchStr 1 2 "OK"
  40. !
  41. -Label 1
  42. !
  43. Xmit "~RESETSEQ~\13"
  44. Wait 400
  45. Xmit "+++"
  46. Wait 200
  47. Xmit "ATQ0\13"
  48. Wait 200
  49. IncTries
  50. IfTries 2 60
  51. Jump 1
  52. !
  53. -Label 2
  54. !
  55. Flush
  56. MatchStr 1 3 "OK"
  57. MatchStr 2 3 "ERR"
  58. DsplyPic 200
  59. DsplyMsg "Initialisation du Modem..."
  60. Pause 60
  61. Xmit "~INITSEQ~\13"
  62. Wait 500
  63. Jump 60
  64. !
  65. -Label 3
  66. !ShowPrice "Palier de tarification ~XPRICE~"
  67. ShowPrice "Tarif du service ~XPRICE~"
  68. ! Note : Ne pas modifier les 7 lignes suivantes:
  69. ! ----
  70. ! ~PROMPTMANU~=! en cas de mumÈrotation auto
  71. ! ~PROMPTMANU~=Prompt "NumÈrotez manuellement,puis attendez la tonalitÈ pour valider"
  72. ~PROMPTMANU~
  73. ! ~MSGMANU/AUTO~ = DsplyMsg "NumÈrotation du ^1." numerotation auto
  74. ! ~MSGMANU/AUTO~ = DsplyMsg "Connexion en cours.." numerotation manuelle
  75. DsplyPic 300
  76. DsplyMsg "~MSGMANU/AUTO~"
  77. MatchStr 1 59 "No Carrier"
  78. MatchStr 2 4 "CONNECT"
  79. MatchStr 3 54 "NO DIAL TONE"
  80. MatchStr 4 53 "DELAYED"
  81. MatchStr 5 53 "FORBID"
  82. ! dans la ligne suivante ^1 est inclus dans ~IMP/MULTF~ en numÈrotation automatique uniquement
  83. Pause 120
  84. Xmit "~IMP/MULTF~\13"
  85.  
  86. Wait 3600
  87. Jump 54
  88. !
  89. -Label 4
  90. !
  91. DsplyPic 400
  92. Jumpif 14 "~TERM~"="MINI" 
  93. DsplyMsg "^1 connectÈ"
  94. MatchStr 1 6 "du service"
  95. MatchStr 2 61 "NO CARRIER"
  96. MatchStr 3 11 "SIAM GO"
  97. MatchStr 4 5 "\27"
  98. DsplyMsg "Page d'accueil TÈlÈtel."
  99. Wait 3600
  100. Jump 57
  101. !
  102. -Label 5
  103. !
  104. DsplyPic 500
  105. DsplyMsg "Appel de ^2..."
  106. MatchStr 3 11 "SIAM GO"
  107. Xmit "\19E"
  108. Xmit "^2\19A"
  109. Wait 3600
  110. Jump 57
  111.  
  112. !
  113. -Label 6
  114. !
  115. DsplyPic 500
  116. DsplyMsg "Appel de ^2..."
  117. Xmit "\19E"
  118. Xmit "^2\19A"
  119. MatchStr 1 58 "LIB"
  120. MatchStr 2 61 "NO CARRIER"
  121. MatchStr 3 9 "demande"
  122. MatchStr 4 11 "SIAM GO"
  123. Wait 3600
  124. Jump 61
  125. !
  126. -Label 9
  127. !
  128. Pause 120
  129. Xmit "\19E^2\19A"
  130. Wait 600
  131. IncTries
  132. IfTries 5 56
  133. Jump 9
  134. !
  135. -Label 11
  136. !
  137. DsplyPic 600
  138. Pause 120
  139. Exit 0
  140. !
  141.  
  142. -Label 14
  143. !
  144. DsplyPic 400
  145. IsEmpty 18 ^2
  146. DsplyMsg "^1 connectÈ"
  147. MatchStr 1 15 "du service:"
  148. MatchStr 2 16 "ros d'urgence"
  149. MatchStr 3 61 "NO CARRIER"
  150. MatchStr 4 17 "\279{"
  151. MatchStr 5 16 "3611"
  152. DsplyMsg "Page d'accueil..."
  153. Wait 1200
  154. Exit 1
  155. !
  156. -Label 15
  157. !
  158. MatchStr 1 15 "$$$"
  159. Wait 150
  160. DsplyMsg "Appel de ^2."
  161. Xmit "\19E"
  162. Xmit "^2\19A"
  163. Exit 1
  164.  
  165. !
  166. -Label 16
  167. !
  168. DsplyPic 500
  169. MatchStr 1 16 "$$$"
  170. Wait 150
  171. Exit 1
  172.  
  173. !
  174. -Label 17
  175. !
  176. DsplyPic 500
  177. Xmit "\1Cv1\4"
  178. Wait 1200
  179. Exit 1
  180.  
  181. !
  182. -Label 18
  183. !
  184. Exit 1
  185.  
  186.  
  187. -Label 53
  188. Alert 63 "Echec en numÈrotation ! Votre modem m'empÍche de numÈroter (N∞ br˚lÈ). RÈinitialisez-le et recommencez !"
  189. Jump 63
  190. !
  191. -Label 54
  192. Alert 63 "ProblËme de numÈrotation! Essayez en mode impulsions !"
  193. Jump 63
  194. !
  195. -Label 55
  196. Alert 63 "Ce modem n'est pas totalement compatible Hayes !"
  197. Jump 63
  198. !
  199. -Label 56
  200. !
  201. Alert 63 "Pas de synchronisation avec le serveur. Recommencez."
  202. Jump 63
  203. !
  204. -Label 57
  205. !
  206. Alert 63 "ProblËme avec Transpac/TÈlÈtel. Essayez plus tard."
  207. Jump 63
  208. !
  209. -Label 58
  210. !
  211. Alert 63 "Le ^2 est indisponible. Essayez plus tard."
  212. Jump 63
  213. !
  214. -Label 59
  215. !
  216. Alert 63 "Le ^1 est indisponible. Essayez plus tard."
  217. Jump 63
  218. !
  219. -Label 60
  220. !
  221. Alert 63 "Le modem ne rÈpond pas."
  222. exit -1
  223. !
  224. -Label 61
  225. !
  226. Alert 63 "Je n'arrive pas ‡ Ètablir la connexion."
  227. Jump 63
  228. !
  229. -Label 63
  230. !
  231. Pause 90
  232. Xmit "+++"
  233. Pause 90
  234. Xmit "ATH\13"
  235. Pause 120
  236. exit -1
  237. !
  238. -Label 64
  239. !
  240. exit -1
  241.  
  242.  
  243.