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

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