home *** CD-ROM | disk | FTP | other *** search
- clear
- |
- | this is a sample autopilot program for logging on to Genie
- |___________________________
- trace on |
- | show what's happening
- Print "Logging on to Genie..."
- |
- IF connect | see if connected
- Print " at " |
- Print gettime | show time
- Print "~~" | couple of returns
- Flush 60 | clear junk for a second
- Printm "HHH" | wake up Genie
- ok=Wait 15 "U#=" | wait for initial prompt
- IF not ok |
- GOTO nologin |
- ENDIF |
- Printm "^Rxxx12345,password,475,1~"
- | send the account number, goto messages
- Flush 60 |
- Print "Connected to Genie!~"
- ELSE | tried too many times
- _nologin |
- Print "~Could not connect to Genie!"
- QUIT | quit the program
- ENDIF |
- |
- | continue with other things here
- QUIT
-