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

  1. !--------------------------------------------------------
  2. !
  3. !     Script General Modem 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.  
  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 12
  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.  
  241.  
  242. -Label 53
  243. Alert 63 "Echec en numÈrotation ! Votre modem m'empÍche de numÈroter (N∞ br˚lÈ). RÈinitialisez-le et recommencez !"
  244. Jump 63
  245. !
  246. -Label 54
  247. Alert 63 "ProblËme de numÈrotation! Essayez en mode impulsions !"
  248. Jump 63
  249. !
  250. -Label 55
  251. Alert 63 "Ce modem n'est pas totalement compatible Hayes !"
  252. Jump 63
  253. !
  254. -Label 56
  255. !
  256. Alert 63 "Pas de synchronisation avec le serveur. Recommencez."
  257. Jump 63
  258. !
  259. -Label 57
  260. !
  261. Alert 63 "ProblËme avec Transpac/TÈlÈtel. Essayez plus tard."
  262. Jump 63
  263. !
  264. -Label 58
  265. !
  266. Alert 63 "Le ^2 est indisponible. Essayez plus tard."
  267. Jump 63
  268. !
  269. -Label 59
  270. !
  271. Alert 63 "Le ^1 est indisponible. Essayez plus tard."
  272. Jump 63
  273. !
  274. -Label 60
  275. !
  276. Alert 63 "Le modem ne rÈpond pas."
  277. exit -1
  278. !
  279. -Label 61
  280. !
  281. Alert 63 "Je n'arrive pas ‡ Ètablir la connexion."
  282. Jump 63
  283. !
  284. -Label 63
  285. !
  286. Pause 90
  287. Xmit "+++"
  288. Pause 90
  289. Xmit "ATH\13"
  290. Pause 120
  291. exit -1
  292. !
  293. -Label 64
  294. !
  295. exit -1
  296.          
  297. !-Label 80
  298. !Pause 90
  299. !Xmit "\19I"
  300. !Pause 130
  301. !Jump 4
  302.  
  303.  
  304.  
  305. !
  306. !--------------------------------------------------------
  307. !
  308. !     séquence de re-connexion ou rerootage
  309. !
  310.  
  311. -Label 80
  312. !
  313. Display 2
  314. ! mise en place du fond de la boite de connexion
  315. SetBkPict 30000
  316. DsplyPic 100
  317. DsplyMsg "Reconnexion..."
  318. CanBtn 63
  319. Pause 90
  320. Xmit "+++"
  321. Pause 180
  322. Xmit "ATH0\13"
  323. MatchStr 1 2 "OK"
  324. !
  325. -Label 81
  326. !
  327. Wait 200
  328. Xmit "+++"
  329. Wait 200
  330. Xmit "ATH0\13"
  331. Wait 200
  332. IncTries
  333. IfTries 2 60
  334. Jump 81
  335. !
  336. -Label 90
  337. Xmit "\19I\13"
  338. ! mise en place du fond de la boite de connexion
  339. Display 2
  340. SetBkPict 30000
  341. DsplyMsg "Reroutage en cours..."
  342. !ShowPrice "Palier de tarification ~XPRICE~"
  343. ShowPrice "Tarif du service ~XPRICE~"
  344. Jump 4
  345. !
  346.