home *** CD-ROM | disk | FTP | other *** search
- ;=| iNet/Datapac Logon Script v1.00 |=========================================;
- ; ;
- ; Before using this script you must enter your iNet User ID/Password below ;
- ; where indicated with <--. You must also set up Intellicomm for use with ;
- ; iNet. See "LONG DISTANCE SERVICES" in the manual for details. ;
- ; ;
- ;=============================================================================;
-
- send ".." ;two periods for 2400 baud
-
- waitfor "DATAPAC" 30 ERROR ;wait 30 seconds for DATAPAC prompt,
- ;jump to ERROR if not found
-
- delay 10 ;pause for 10/10ths (1 second)
- sendbif "G" "city" ;send iNet address, as defined in the BIF
-
- waitfor "Code d'usager:" 30 ERROR
- delay 10
- send "Your.ID" ;<-- ENTER YOUR INET ID HERE (between the "")
- ;---------------------------------------------
- waitfor "de securite:" 30 ERROR
- delay 10
- send "Password" ;<-- ENTER YOUR PASSWORD HERE (between the "")
- ;----------------------------------------------
- waitfor "press <CR>" 30 ERROR
- delay 10
- sendbif "G" "phn1" ;phn1 (phone number 1) of the BIF should be
- send "" ;set up with the iNet address of the BBS (e.g.
- ;A CRS GA)
-
- ;WHEN/WAITFOR work as a team to handle multiple prompts.
-
- when ;clear all WHEN's
- when "your security" ERROR ;password change... abort
- when "Unable to log" ERROR ;can't logon to host
- when "did not accept" ERROR
- waitfor "uter completed" 60 ERROR
-
- exit ;exit the script without an errorcode... signal all's well
-
- ERROR:
- hangup
- exit 1 ;1 signals a problem... don't logon now
-