home *** CD-ROM | disk | FTP | other *** search
/ Software of the Month Club 1996 January / SOFM_Jan1996.bin / pc / os2 / zoc / install.fil / SCRIPT / RXSAMPLE / MISC / 5_REPLY < prev    next >
Encoding:
Text File  |  1995-09-08  |  925 b   |  32 lines

  1. /*//////////////////////////////////////////////////////
  2. // AUTORESPONSE
  3. ////////////////////////////////////////////////////////
  4. // 
  5. // 
  6. // with the REPLY function you may setup automatic
  7. // responses for incoming data. These responses are 
  8. // checked within a DELAY or WAIT command.
  9.  
  10. // There is a limitation of 16 responses, each having
  11. // 80 characters max.
  12.  
  13. // This is a example of how to login to a bbs and skip
  14. // across the initial news (assumed that they have
  15. // a "- press enter to continue -" prompt)
  16. // However, this is not the typical way to do a login;
  17. // this is merely a sample to show the use of REPLY
  18. */
  19.  
  20.  
  21. /* Setup a few replies */
  22. 'REPLY "Name" "ZOC^M"'
  23. 'REPLY "Password" "SECRET^M"'
  24. 'REPLY " continue -"  "^M"'
  25.  
  26. /* Dial in (no error busy etc. checking) */
  27. 'DIAL "555-555-7777"'
  28.  
  29. /* wait until logout and leave the work to the responses */
  30. 'TIMEOUT 3600'
  31. 'WAIT "NO CARRIER"'
  32.