home *** CD-ROM | disk | FTP | other *** search
/ Simtel MSDOS 1992 June / SIMTEL_0692.cdr / msdos / procomm / pcpdial.arc / EXAMPLE.VER < prev    next >
Encoding:
Text File  |  1988-01-18  |  1.0 KB  |  27 lines

  1. ;Sample Log-On Command File for VERSAdial v 1.3 and ProComm v 2.4.2
  2. ;By Allen Brunson, David Rhoten, and Gizmo
  3. ;01-88
  4.  
  5. ;This is an example of a script for automatically logging onto a
  6. ;PC-Board BBS, ver. 12.x
  7.  
  8. BEGIN:
  9. WAITFOR "=no?"                          ;Wait for "Graphics?" prompt, and
  10. TRANSMIT "Yes!"                         ; send response
  11.  
  12. TIMEOUT1_LABEL:                         ;Provide a loop in case a long
  13. WAITFOR "name?"                         ; opening screen causes the
  14. IF NOT WAITFOR                          ; WAITFOR to time out
  15.    GOTO TIMEOUT1_LABEL
  16. ENDIF
  17.  
  18. TRANSMIT "First Last!"                  ;Send full name; PC-B knows not
  19.                                         ; to prompt for second name
  20. TIMEOUT2_LABEL:                         ;Loop point in case BBS has a
  21. WAITFOR "echo)?"                        ; large user-base, while waiting
  22. IF NOT WAITFOR                          ; for the password prompt.
  23.    GOTO TIMEOUT2_LABEL
  24. ENDIF
  25.  
  26. TRANSMIT "password!"                    ;Send password
  27.