home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.wwiv.com
/
ftp.wwiv.com.zip
/
ftp.wwiv.com
/
pub
/
BBS
/
JMOD1004.ZIP
/
MODS.ZIP
/
ROBOT.1
< prev
next >
Wrap
Text File
|
1995-04-19
|
3KB
|
116 lines
'
' This script shows how to get Internet usenet groups from the Internet
' site I call. Lots of things may be different for your Internet site.
' So if part of what I have below doesn't work, do it as it should be
' done on your Internet site (for example, different flavours of RN might
' have different prompts).
'
' Also, your account has probably a MB limit, so you want to create one
' or more robots, or call in every x days, depending on this limit as
' it relates to number of new messages.
'
' To execute this script, make the following command an event or a <ctrl>Fx:
'
' |010 _c:\bbs\robot.1
'
' You want it to execute when you can watch it, the process can sometimes
' be rather fragile.
'
' To import the gotten mail, you should create an event as so:
'
' |271 _c:\bbs\miscmail\inet*.txt
'
' The following single command will also work:
'
' |010 _c:\bbs\robot.1 |271 _c:\bbs\miscmail\inet*.txt
'
' Dial up my Internet access provider. In this case, a local college at
' 229-2953. (my sister is attending--but its free)
'
SEND ATDT229-2953
'
' UWM offers multiple computers, this section varies depending on which
' type of system you're calling. The goal is to log into your account.
'
WAITFOR Which system?
SEND alpha2
WAITFOR login:
SEND rohner
WAITFOR Password:
SEND mypass
WAITFOR TERM = (unknown)
SEND
'
' "(alpha2)" is the command line prompt for the UWM system I use. Change
' to whatever you use.
'
WAITFOR (alpha2)
'
' We backup .newsrc to newsrc.bak. We do this in case the script bombs
' and we want to reset the message areas to try again.
'
SEND cp -f .newsrc newsrc.bak
WAITFOR (alpha2)
'
' DELAY # waits 18ths of a second.
' PATIENCE # sets timeout minutes for WAITFOR match.
'
PATIENCE 60
'
' Duplicate the section below for each internet area you want to receive.
' All that needs changing is the usenet group name, and the filename to
' store it to.
'
' The filename should follow the format: INET####.TXT
' Where "####" is 0001 to 0999 corresponding to which of your Message
' Areas you want to eventually toss the messages into.
'
SEND rn -s -q -T -i=1 -N alt.revenge
WAITFOR ? [ynq]
SEND y
WAITFOR %)
DELAY 18
SEND .
DELAY 18
WAITFOR .
SEND -$ s inet0005.txt
WAITFOR %)
SEND c
DELAY 18
SEND yq
WAITFOR (alpha2)
'
SEND rn -s -q -T -i=1 -N alt.graffiti
WAITFOR ? [ynq]
SEND y
WAITFOR %)
DELAY 18
SEND .
DELAY 18
WAITFOR .
SEND -$ s inet0006.txt
WAITFOR %)
SEND c
DELAY 18
SEND yq
WAITFOR (alpha2)
'
' Now we actually download the files and log off.
'
PATIENCE 1
SEND sz News/inet*.txt
DELAY 18
SHELL C:\BBS\BIN\DSZ.EXE %P pR1 rz -mS
DELAY 18
SEND
WAITFOR (alpha2)
DELAY 2
SEND rm -f News/inet*.txt
DELAY 18
SEND EXIT
DELAY 18
HANGUP