home *** CD-ROM | disk | FTP | other *** search
- /*
- MCI Mail Logon Script
-
- Copyright (C) 1989, 1990 Digital Communications Associates, Inc.
- All rights reserved.
-
- Version 1.00 07-15-89 PJL (from MCI.XTS)
- Version 1.01 01-31-90 PJL
- */
-
-
- -- wake up MCI:
- i = 1
- while i <= 10
- reply
- wait 2 seconds for 'port:'
- if not timeout then goto LOGIN
- i = i + 1
- wend
-
- -- nothing happened, quit:
- print
- print 'System not responding - Login cancelled.'
- print
- bye : end
-
-
- label LOGIN
- trys = 1
- while online and trys < 5
- watch 10 seconds for
- 'name:' : wait 5 ticks : ...
- reply UserID
- 'password:' : wait 5 ticks : ...
- reply Password
- 'sorry, inc' : wait 5 ticks : reply : bye : bye
- 'nection ini' : end
- endwatch
- trys = trys + 1
- wend
- end
-