home *** CD-ROM | disk | FTP | other *** search
/ Media Share 9 / MEDIASHARE_09.ISO / hamradio / pcm548.zip / PCM548.EXE / SCRIPT.LZH / CASE.PSF < prev    next >
Text File  |  1992-05-10  |  530b  |  33 lines

  1.  
  2. send "c oz1dki-2"
  3. waitfor "*** CONNECTED"
  4. if timeout goto end
  5.  
  6. send "c oz1hmn-1"
  7.  
  8. ;Setup WAITFOR statements
  9. case "Failure with" goto failure
  10. case "Busy from" goto busy
  11. case "Connected to" goto ok
  12.  
  13. ; Now wait for any received string terminated by $0D
  14. timeout 15
  15. waitfor ""
  16.  
  17. ; In case of falling through goto end
  18. goto end
  19.  
  20. :ok
  21.         write "Now i'm connected"
  22.         goto end
  23.  
  24. :failure
  25.         write "Failure connecting"
  26.         goto end
  27.  
  28. :busy
  29.         write "Station busy"
  30.         goto end
  31.  
  32. :end
  33.