home *** CD-ROM | disk | FTP | other *** search
- !--------------------------------------------------------
- !
- ! Pour connexion en mode Audiotel ou RTC
- ! (C) France Multimedia 1996-1998
- !
- !--------------------------------------------------------
- !
- ! sÈquence de dÈconnexion
- !
- *Pause 90
- *Xmit "+++"
- *Pause 180
- *Xmit "ATH0\13"
- *Pause 120
- *Exit 0
- !
- !--------------------------------------------------------
- !
- ! sÈquence de connexion
- !
- -label 0
- ~DEBUG~
- CanBtn 64
- User 1 "~PREF~~NBA~"
- User 2 "~CODEA~"
- Display 2
- ! mise en place du fond de la boite de connexion
- SetBkPict 30000
- DsplyPic 100
- ShowPrice "Co˚t de communication: se rÈfÈrer au menu Aide - Tarifs de connexion"
- DsplyMsg "Teste le Modem..."
- Pause 30
- CanBtn 63
- SetTries 0
- Transport 9 ~TRANSPORT~
- MatchStr 1 2 "OK"
- !
- -Label 1
- !
- Xmit "~RESETSEQ~\13"
- Wait 200
- Xmit "+++"
- Wait 200
- Xmit "ATQ0\13"
- Wait 200
- IncTries
- IfTries 2 60
- Jump 1
- !
- -Label 2
- !
- Flush
- MatchStr 1 3 "OK"
- MatchStr 2 3 "ERR"
- DsplyPic 200
- DsplyMsg "Initialisation du Modem..."
- Pause 30
- Xmit "~INITSEQ~\13"
- Wait 500
- Jump 60
- !
- -Label 3
- DsplyMsg "NumÈrotation du ^1 en cours..."
- Pause 30
- MatchStr 1 59 "No Carrier"
- MatchStr 2 4 "Connect"
- MatchStr 3 54 "NO DIALTONE"
- MatchStr 4 53 "DELAYED"
- MatchStr 5 53 "FORBID"
- MatchStr 6 52 "BUSY"
- MatchStr 7 20 "CARRIER"
- MatchStr 8 12 "PROTOCOL"
- Xmit "~IMP/MULTF~\13"
- DsplyPic 300
- Wait 2000
- User 1 ""
- User 3 ""
- DsplyPic 200
- Wait 2000
- Jump 54
- !
- -Label 4
- !
- MatchStr 1 31 "PASS:"
- MatchStr 2 61 "NO CARRIER"
- MatchStr 3 11 "SIAM GO"
- MatchStr 4 57 "LIB"
- Wait 3600
- Jump 57
- !
- -Label 5
- DsplyPic 400
- DsplyMsg "^1 - ^3"
- Pause 30
- Wait 3600
- Jump 57
- !
- -Label 11
- !
- DsplyPic 500
- DsplyMsg "^1 - ^3"
- Pause 60
- Exit 0
- !
- -Label 12
- MatchStr 9 13 "NONE"
- MatchStr 10 14 "LAPM"
- MatchStr 11 15 "ALT"
- MatchStr 12 14 "LAP-M"
- Wait 500
- Jump 5
- !
- -Label 13
- User 1 "Protocole : aucune"
- Jump 5
- !
- -Label 14
- User 1 "Protocole : LAP-M"
- Jump 5
- !
- -Label 15
- User 1 "Protocole : MNP"
- Jump 5
- !
- -Label 20
- MatchStr 9 21 "12000"
- MatchStr 10 22 "2400"
- MatchStr 11 23 "9600"
- MatchStr 12 24 "14400"
- MatchStr 13 25 "1200"
- Wait 500
- Jump 5
- !
- -Label 21
- User 3 "Connexion : 12000 bds"
- Jump 5
- !
- -Label 22
- User 3 "Connexion : 2400 bds"
- Jump 5
- !
- -Label 23
- User 3 "Connexion : 9600 bds"
- Jump 5
- !
- -Label 24
- User 3 "Connexion : 14400 bds"
- Jump 5
- !
- -Label 25
- User 3 "Connexion : 1200 bds"
- Jump 5
- !
-
- -Label 31
- Pause 60
- SetTries 0
- Jump 32
- !
- -Label 32
- Xmit "^2\13"
- MatchStr 1 11 "SIAM GO"
- MatchStr 2 61 "NO CARRIER"
- MatchStr 3 57 "LIB"
- Wait 400
- IncTries
- IfTries 3 57
- Jump 32
- !
- -Label 52
- Alert 63 "Toutes les lignes sont occupÈes! Essayez plus tard!"
- Jump 63
- !
- -Label 53
- Alert 63 "Echec en numÈrotation ! Votre modem m'empÍche de numÈroter (N∞ br˚lÈ). RÈinitialisez-le et recommencez !"
- Jump 63
- !
- -Label 54
- Alert 63 "ProblËme de numÈrotation! (N'oubliez pas le 0 si vous passez par un standard!)"
- Jump 63
- !
- -Label 55
- Alert 63 "Ce modem n'est pas totalement compatible Hayes !"
- Jump 63
- !
- -Label 56
- !
- Alert 63 "Pas de synchronisation avec le serveur. Recommencez."
- Jump 63
- !
- -Label 57
- !
- Alert 63 "ProblËme avec l'accËs. Essayez plus tard."
- Jump 63
- !
- -Label 59
- !
- Alert 63 "Le ^1 est indisponible. Essayez plus tard."
- Jump 63
- !
- -Label 60
- !
- Alert 63 "Le modem ne rÈpond pas."
- exit -1
- !
- -Label 61
- !
- Alert 63 "Je n'arrive pas ‡ Ètablir la connexion."
- Jump 63
- !
- -Label 63
- !
- Pause 90
- Xmit "+++"
- Pause 180
- Xmit "ATH\13"
- Pause 120
- exit -1
- !
- -Label 64
- !
- exit -1
-
-