home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Crawly Crypt Collection 1
/
crawlyvol1.bin
/
bbs
/
stqwk145
/
qwk.scr
< prev
next >
Wrap
Text File
|
1993-04-04
|
2KB
|
69 lines
Script
abort off
; THIS SCRIPT _WILL_NOT_ WORK ON OLDER (PRE-1.50) VERSIONS OF EXPRESS!
;~~~~~~~~ USER-DEFINABLE VARIABLES ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
string FD_Path = 'c:\stq\' ; Your ST-QWK path.
string BBS_Path = 'C:\BBS\' ; Your Express! path.
string Call_Log = 'C:\Binkley\binkley.Log' ; Your BBS Call Log file.
;~~~~~~~~ OTHER VARIABLES ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
var CD
var Call
var Temp
var TermType
var Name = &2 ; Caller's Real Name.
var Limit = &33 ; Caller's Time Left This Call.
;~~~~~~~~ BEGIN CALLER SETUP ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
increase Limit ; So they are REALLY out of time.
;~~~~~~~~ CHECK IF LOCAL; WRITE TO CALL LOG ~~~~~~~~~~~~~~~~~~~
FIDODOOR2:
if &29 = 19200 ; 19200 baud means LOCAL logon.
Call = 'Local'
else
Call = '' ; Otherwise, null Call string,
open ('[Call_Log]', append) ; and write to Call Log.
fprinte ' MA> -*- Entered ST-QWK -*- &23' ; MA = Message Areas.
close
endif
;~~~~~~~~ SET CALLER'S TERMINAL TYPE FOR FIDODOOR ~~~~~~~~~~~~~
if &66 > 3 ; If ANSI,
TermType = 2 ; FIDOdoor needs a 2.
ef &66 > 1 ; If VT52,
TermType = 1 ; FIDOdoor needs a 1.
else
TermType = 0 ; All others get 0 for ASCII.
endif
;~~~~~~~~ FINALLY, LET'S LOAD FIDODOOR... ~~~~~~~~~~~~~~~~~~~~~
printe '\n\rLoading ST-QWK\g...\b\n' ; Explain the delay.
CD = file_chgdrive ('[FD_Path]') ; Change to default FD drive.
CD = file_chgdir ('[FD_Path]') ; Change to default FD path.
ttp ('[FD_Path]st_qwk.TTP','-NAME &2 -GT [TermType] -BAUD &29 [Call]')
default_path ; Change back to BBS drive\path.
;~~~~~~~~ ALL DONE, SO LET'S GET OUT OF HERE ~~~~~~~~~~~~~~~~~~
if &29 < 19200 ; If not LOCAL,
open ('[Call_Log]', append) ; write to Call Log they exited.
fprinte ' MA> -*- Exited ST-QWK -*- &23'
close
endif
printe '\n\n' ; Give us some blank lines.
EXIT