home *** CD-ROM | disk | FTP | other *** search
- ::
- :: "bixmaild.t" goes in %lib Download and DELETE BIX Mail Items
- ::
- echo "Incoming mail:"
- if !r create -+ bix0000.tmp : make sure capture file is open
- if !is9,Mail put "mail\r"; set s9 "Mail"
- set s8 ""
- pattern
- pat 1$ "\nMail:"
- pat 3c "\nNothing in In-Basket" "@set s8 nomail"
- pat 4c "\nNo more unread messages." "@set s8 done"
- loop: wait
- if %s8 goto done
- pat 2$ "\nread/action:"
- put "\r"
- wait
- if %s8 goto done
- if 2 put "delete\r"
- goback loop
-
- done: echo "bixmaild.t done"
- return
-