home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / comm / envoy100.zip / LOGBRUCE < prev    next >
Text File  |  1990-03-15  |  1KB  |  68 lines

  1. ;------------------------------------------------------------------------
  2. ;   LogBruce --- An ENVOY command file
  3. ;
  4. ;   Sample file to log on to a Bulletin board
  5. ;   
  6. ;   Type :
  7. ;        EC LogBruce
  8. ;                    at the DOS prompt
  9. ;------------------------------------------------------------------------
  10.  
  11. ;   Go into terminal mode :
  12. On
  13.  
  14.  
  15. ;   Set up your modem parameters
  16. Send String 'AT Z'
  17. Send String 'AT S0=O'
  18. Send String ''
  19. Send String 'AT V3'
  20.  
  21.  
  22. ;   A check for the forgetful :
  23. Send String 'AT'
  24. Wait String 'OK' 10
  25. If Found
  26. Else
  27.   Remark ' Modem Not turned On'
  28.   Exit
  29. Endif
  30.  
  31.  
  32. ;   Dial 10 times.  It is easy to change this file to have an infinite 
  33. ;   number of tries or to try several different boards until you finally 
  34. ;   get a connection
  35.  
  36. Set Count 1
  37. Label Loop
  38.   
  39.   Send String 'AT DP 1-203-236-3761'
  40.   
  41.   Wait Connect 25
  42.   
  43.   If Connect 
  44.     Remark "You are logged on at Bruce Bar's and Grill"
  45.     Remark "Remember to comb the sawdust out of your hair"
  46.     Remark "when you leave."
  47.     Remark
  48.     beep;
  49.     beep;
  50.     Exit
  51.   Endif
  52.   
  53.   If Count 10 
  54.     Remark ' Ten Tries- Goodbye'
  55.     beep
  56.     beep;
  57.     off
  58.     Exit
  59.   Endif
  60.   
  61.   Pause 5
  62.   Remark ' Try Again'
  63.  
  64. ; Increment Count :
  65.   Count
  66.  
  67. Jump Loop
  68.