home *** CD-ROM | disk | FTP | other *** search
- {MCI.SCP}
-
- { Before use this script, you should change the MCI phone number }
- { and some setings from phone book, the record is MCI }
- {This is a logon file for accessing MCI Mail, the increasingly popular}
- {E-mail service. Replace "xxx"s and "yyy"s in file below as indicated.}
-
- trace(0)
- :start
- @c=1
- typecr("Select the MCI Record ID...")
- selpbk(default)
- select(MCI)
- if ( @mode <> 1 ) @mode = 1 { set it to call mode }
- twait(1,"sec")
- docomm
-
- :loop1
- { twait(1,"sec"); }
- if ( @conn = 0 ) goto :abort { abort if disconnected }
- if ( @conn = 1 ) goto :done { continue on if connected }
- goto :loop1
-
- :done
- cwait("Please enter your user name: ")
- "xx$0D"
- cwait("Password: ")
- "yyy$0D"
-
- :abort
- exit