home *** CD-ROM | disk | FTP | other *** search
- ;------------------------------------------------------------------------
- ; LogBruce --- An ENVOY command file
- ;
- ; Sample file to log on to a Bulletin board
- ;
- ; Type :
- ; EC LogBruce
- ; at the DOS prompt
- ;------------------------------------------------------------------------
-
- ; Go into terminal mode :
- On
-
-
- ; Set up your modem parameters
- Send String 'AT Z'
- Send String 'AT S0=O'
- Send String ''
- Send String 'AT V3'
-
-
- ; A check for the forgetful :
- Send String 'AT'
- Wait String 'OK' 10
- If Found
- Else
- Remark ' Modem Not turned On'
- Exit
- Endif
-
-
- ; Dial 10 times. It is easy to change this file to have an infinite
- ; number of tries or to try several different boards until you finally
- ; get a connection
-
- Set Count 1
- Label Loop
-
- Send String 'AT DP 1-203-236-3761'
-
- Wait Connect 25
-
- If Connect
- Remark "You are logged on at Bruce Bar's and Grill"
- Remark "Remember to comb the sawdust out of your hair"
- Remark "when you leave."
- Remark
- beep;
- beep;
- Exit
- Endif
-
- If Count 10
- Remark ' Ten Tries- Goodbye'
- beep
- beep;
- off
- Exit
- Endif
-
- Pause 5
- Remark ' Try Again'
-
- ; Increment Count :
- Count
-
- Jump Loop
-