home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1994 #1
/
monster.zip
/
monster
/
BBS_UTIL
/
AUTOMPM.ZIP
/
EXTRACT.CTL
< prev
next >
Wrap
Text File
|
1994-01-03
|
2KB
|
50 lines
; This file manages the packet transfer for Pre-extracted Mail in the
; QWK format. This file should be placed in the \BBS\CONTROL\MACROS
; sub-directory. In this example, the source directory path to the
; extracted packets is C:\BBS\PWRMAIL\LOKLMAIL.
;
; Devised by Paul W. Binns, sysop, LanternRock Bbs, Toronto, Canada.
; I can be reached at (416)-690-8744 / 8745, or by EMail
; In the RIME Powerboard BBS Sysop Support conference.
;
; This version was intended to work with Powerboard 1.25a, but it
; may work with other releases of the software. The variable (%VAR%d)
; might need changing. Consult your Powerboard manual.
;
; Dated: 1 January 1994.
Exec(pwrmail\kill.bat)
*FindPreExtractedMail
SetEqual (d=%NDPASS%)
Seek (pwrmail\loklmail\%VAR%d)
IfNotTrue (goto (NoPreMail))
Display(display\AUTOMAIL)
Say (&CR&&CR&&CR&&CR&&11& Send your pre-extracted mail now? &9&[ ]&14&*)
Back(4)
YesNoAsk(*)
If (%RESP%)=(No) then goto (NoPreMail)
FixFile(pwrmail\RNAME.BT,pwrmail\RNAME.BAT)
Exec(pwrmail\RNAME.BAT)
Kill(pwrmail\RNAME.BAT)
Say (&CR&&CR&&CR&&10& Prepare to receive &14&LANTROCK.QWK&10&, with &15&Z-Modem)
SetEqual (%FILPATH%=C:\BBS\PWRMAIL\LOKLMAIL\)
SetEqual (d=C:\BBS\PWRMAIL\LOKLMAIL\LANTROCK.QWK) ;<== replace with your BBS packet-name
FixFile(protocol\z-d.bt,protocol\z-d.bat)
Exec(protocol\z-d.bat)
Kill(protocol\z-d.bat)
Kill(pwrmail\loklmail\LANTROCK.QWK) ;<== replace with your BBS packet name
Say(&CR&&CR&&CR&&12& Log off now ? &9&[ ]&14&*)
Back(4)
YesNoAsk(*)
If(%RESP%)=(No) then return
LoadMem (control\macros\bye.ctl)
*NoPreMail
Return
; Change the indicated BBS packet name with the one you configured in
; PowerMail's MailCfg
; Also check the path statements to be sure they agree with your setup