home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Crawly Crypt Collection 1
/
crawlyvol1.bin
/
bbs
/
uscan10
/
upload.dor
< prev
next >
Wrap
Text File
|
1992-03-30
|
2KB
|
37 lines
IF *P >= 500 THEN GOTO OK ; Co-sysops or sysops with a security level of 500
; or more may skip U-Scan.
WRITE DORINFO1.DEF ; U-Scan requires this to get some user info.
CLS
SEND Faliure to upload the filename given to Uscan will result in no more
SEND downloading this call! ; Let them know what they're in for.
CD D:\QBBS\
EXEC USCAN.TTP &1 ; U-Scan needs to know the path QBBS will place
; the uploaded file (&1 para from menu).
IF *C = 0 THEN GOTO OK ; If errorlevel 0, Proceed with upload.
IF *C = 1 THEN EXIT ; If errorlevel 1, User quitted, or matches
; were found.
:OK
SEND
MENU 33 &1 ; &1 is the path parameter passed from calling menu.
IF *P >= 500 THEN EXIT ; Don't check filename for users not using U-Scan.
; EXEC RATIO.TTP ╱T ╱R 10 ; Run ratio.ttp with correct params. USE IF RUNNING
; DLIMIT *C ; Reset users download limit. RATIO SYSTEM.
EXEC USCAN.TTP check ; Run U-Scan a second time to check if they uploaded
; what they said they would. Parameter 'check'.
IF *C = 0 THEN EXIT ; If errorlevel 0, All's okay.. they were honest!
IF *C = 1 THEN GOTO NORTY ; If errorlevel 1, They uploaded something different.
:NORTY ; Make the lying $!*(£ ^% suffer!!
DLIMIT 000 ; No more downloading for this call.
SEND
SEND **********************************************
SEND
SEND You didnt upload the filename given to U-Scan!
SEND No further downloading may be made this call.
SEND
SEND **********************************************
EXIT