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

  1. !--------------------------------------------------------
  2. !
  3. !     Script General Modem Siam et Minitel
  4. !
  5. !     AdaptÈ pour PC et Kiosque Micro
  6. !
  7. !     (C) Computer Answer Line 1996
  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.  
  40. Jumpif 80 "~REROOT~"="80" 
  41. Jumpif 90 "~REROOT~"="90" 
  42. !
  43. Display 2
  44. ! mise en place du fond de la boite de connexion
  45. SetBkPict 30000
  46. DsplyPic 100
  47. DsplyMsg "Teste le Modem..."
  48. !
  49. !Alert 64 "Terminal : ^3 "
  50. !
  51. CanBtn 63
  52. SetTries 0
  53. Transport 9 ~TRANSPORT~
  54. ESet 10 1
  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 TONE"
  96. MatchStr 4 53 "DELAYED"
  97. MatchStr 5 53 "FORBID"
  98. ! dans la ligne suivante ^1 est inclus dans ~IMP/MULTF~ en numÈrotation automatique uniquement
  99. Pause 120
  100. Xmit "~IMP/MULTF~\13"
  101. Wait 900
  102. DsplyPic 300
  103. Wait 4600
  104. Jump 54
  105. !
  106. -Label 4
  107. !
  108. DsplyPic 400
  109. Jumpif 14 "~TERM~"="MINI" 
  110. SetTries 0
  111. MatchStr 1 6 "du service"
  112. MatchStr 2 61 "NO CARRIER"
  113. MatchStr 3 11 "SIAM GO"
  114. MatchStr 4 7 "\279{"
  115. MatchStr 5 10 "Ser?"  
  116. MatchStr 6 6 "\27 !!0"
  117. DsplyMsg "Page d'accueil..."
  118. Wait 3600
  119. Jump 57
  120. !
  121. -Label 5
  122. !
  123. DsplyPic 600
  124. DsplyMsg "Appel de ^2..."
  125. MatchStr 3 11 "SIAM GO"
  126. Xmit "\19E"
  127. Xmit "^2\19A"
  128. Wait 3600
  129. Jump 57
  130.  
  131. !
  132. -Label 6
  133. !
  134. DsplyPic 600
  135. DsplyMsg "Appel de ^2..."
  136. Xmit "\19E"
  137. Xmit "^2\19A"
  138. MatchStr 1 58 "LIB"
  139. MatchStr 2 61 "NO CARRIER"
  140. MatchStr 3 9 "demande"
  141. MatchStr 4 11 "SIAM GO"
  142. Wait 3600
  143. Jump 61
  144.  
  145. !
  146. -Label 7
  147. !
  148. Xmit "\01Cv1\04"
  149. Wait 3600
  150. Jump 57
  151.  
  152. !
  153. -Label 9
  154. !
  155. Pause 120
  156. Xmit "\19E^2\19A"
  157. Wait 600
  158. IncTries
  159. IfTries 5 56
  160. Jump 9
  161. !
  162. -Label 10
  163. ! 1∞ version on envoie 2 fois le code (identification et Serv?)
  164. !Xmit "^2\13"
  165. !Wait 3600
  166. !Jump 57
  167.  
  168. ! 2∞ version on envoie ANNULATION avant d'envoyer le code
  169. IfTries 0 30
  170. IncTries
  171. Xmit "\19E"
  172. Jump 12
  173.  
  174. !
  175. -Label 11
  176. !
  177. DsplyPic 500
  178. Pause 60
  179. Exit 0
  180. !
  181.  
  182. -Label 12
  183. Xmit "^2\13"
  184. Wait 3600
  185. Jump 57
  186.  
  187.  
  188. -Label 14
  189. !
  190. Xmit "\01Cv1\04"
  191. DsplyPic 400
  192. IsEmpty 18 ^2
  193. MatchStr 1 15 "du service:"
  194. MatchStr 2 15 "du service"
  195. MatchStr 3 18 "ros d'urgence"
  196. MatchStr 4 11 "NO CARRIER"
  197. MatchStr 5 15 "bli"
  198. MatchStr 6 17 "\279{"
  199. MatchStr 7 15 "3611"
  200. DsplyMsg "Page d'accueil TÈlÈtel."
  201. Wait 3600
  202. Jump 57
  203. !          
  204.  
  205. -Label 15
  206. !
  207. DsplyPic 600
  208. MatchStr 1 15 "$$$"
  209. Wait 150
  210. DsplyMsg "Appel de ^2."
  211. Xmit "\19E"
  212. Xmit "^2\19A"
  213. Exit 1
  214.  
  215. !
  216. -Label 16
  217. !
  218. DsplyPic 600
  219. DsplyMsg "Appel de ^2..."
  220. Xmit "\19E"
  221. Xmit "^2\19A"
  222. MatchStr 1 58 "LIB"
  223. MatchStr 2 61 "NO CARRIER"
  224. MatchStr 3 9 "demande"
  225. MatchStr 4 11 "SIAM GO"
  226. Wait 240
  227. Exit 1
  228.  
  229. !
  230. -Label 17
  231. !
  232. Xmit "\1Cv1\4"
  233. Wait 3600
  234. Jump 57
  235. !
  236. -Label 18
  237. !
  238. Exit 1
  239. !
  240. -Label 53
  241. Alert 63 "Echec en numÈrotation ! Votre modem m'empÍche de numÈroter (Liste rouge). RÈinitialisez-le et recommencez !"
  242. Jump 63
  243. !
  244. -Label 54
  245. Alert 63 "ProblËme de numÈrotation! Essayez en mode impulsions !"
  246. Jump 63
  247. !
  248. -Label 55
  249. Alert 63 "Ce modem n'est pas totalement compatible Hayes !"
  250. Jump 63
  251. !
  252. -Label 56
  253. !
  254. Alert 63 "Pas de synchronisation avec le serveur. Recommencez."
  255. Jump 63
  256. !
  257. -Label 57
  258. !
  259. Alert 63 "ProblËme avec Transpac/TÈlÈtel. Essayez plus tard."
  260. Jump 63
  261. !
  262. -Label 58
  263. !
  264. Alert 63 "Le ^2 est indisponible. Essayez plus tard."
  265. Jump 63
  266. !
  267. -Label 59
  268. !
  269. Alert 63 "Le ^1 est indisponible. Essayez plus tard."
  270. Jump 63
  271. !
  272. -Label 60
  273. !
  274. Alert 63 "Le modem ne rÈpond pas."
  275. exit -1
  276. !
  277. -Label 61
  278. !
  279. Alert 63 "Je n'arrive pas ‡ Ètablir la connexion."
  280. Jump 63
  281. !
  282. -Label 63
  283. !
  284. Pause 90
  285. Xmit "+++"
  286. Pause 90
  287. Xmit "ATH\13"
  288. Pause 120
  289. exit -1
  290. !
  291. -Label 64
  292. !
  293. exit -1
  294.          
  295. !-Label 80
  296. !Pause 90
  297. !Xmit "\19I"
  298. !Pause 130
  299. !Jump 4
  300.  
  301.  
  302.  
  303. !
  304. !--------------------------------------------------------
  305. !
  306. !     séquence de re-connexion ou rerootage
  307. !
  308.  
  309. -Label 80
  310. !
  311. Display 2
  312. ! mise en place du fond de la boite de connexion
  313. SetBkPict 30000
  314. DsplyPic 100
  315. DsplyMsg "Reconnexion..."
  316. CanBtn 63
  317. Pause 90
  318. Xmit "+++"
  319. Pause 180
  320. Xmit "ATH0\13"
  321. MatchStr 1 2 "OK"
  322. !
  323. -Label 81
  324. !
  325. Wait 200
  326. Xmit "+++"
  327. Wait 200
  328. Xmit "ATH0\13"
  329. Wait 200
  330. IncTries
  331. IfTries 2 60
  332. Jump 81
  333. !
  334. -Label 90
  335. Xmit "\19I\13"
  336. ! mise en place du fond de la boite de connexion
  337. Display 2
  338. SetBkPict 30000
  339. DsplyMsg "Reroutage en cours..."
  340. !ShowPrice "Palier de tarification ~XPRICE~"
  341. ShowPrice "Tarif du service ~XPRICE~"
  342. Jump 4
  343. !
  344.