home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Black Box 4
/
BlackBox.cdr
/
bbsfiles
/
vbbs531.arj
/
START.V
< prev
next >
Wrap
Text File
|
1991-11-29
|
2KB
|
113 lines
$p = $flags instr N
testval $p <> 0 notnewuser
dbgroup e
db 1
buffer clear
$p = "Hello " & $handle & "!"
buffer append $p
$p = "Welcome to " & $bbsname & !
buffer append $p
buffer append "We hope you will find your visit here enjoyable!"
$p = "-" & $sysop & " (SysOp)"
buffer append $p
buffer append ""
buffer append $vconfig1
xsave $user "New User" $bbsname 0 "" $node
setflags N on
# notnewuser
ts $norm
tr
sysinfo
ts $norm
$s = "Welcome to " & $bbsname
jc $s 67
if $ansi = ON then
tr "┌─────────────────────────────────────────────────────────────────────┐
tr "│ " $flash $s $norm " │"
tr "└─────────────────────────────────────────────────────────────────────┘
else
tr
tr " " $s
tr
endif
listcallers 5
tr
$p = $flags instr A
testval $p <> 0 skipauto
autopost
# skipauto
checkvote
tr $red
dbgroup e
db 2
$q = $highdb + 1
# looknext
search $q 1
test $result = out done4
$q = $search
load $q /q
$z = $subject left 7
test $z <> "FileReq" notasyscmd
$f = $subject mid 9
$f = $f left 12
$p = $f instr " " - 1
ifval $p <> 0 then
$f = $f left $p
endif
$n = $subject mid 23
$n = $n left 5
$b = $subject mid 29
$b = $b left 8
$n2 = $fromnode
tr
tr "File Request: " $f " (" $b " bytes) from @" $n
tr "By: " $from " #" $fromno " @" $fromnode
testval $fromnode <> $node netreq
testval $n = $node donewithit
# netreq
rr $key AD "<A>pprove/<D>isapprove: "
tr
test $key = D donewithit
testval $fromnode <> $node sendupfile
save 1 $subject $bbsname 0 "" $n
go donewithit
# sendupfile
netreq $req F 900
dbgroup f
do $i = 1 $dbnumber
testval $i = $req nextdb
db $i
search 1 5 $f
test $result = out nextdb
load $search
$f1 = $dbpath & \ & $attfile
db $req
$f2 = $dbpath & \ & $attfile
resave 1 $subject $bbsname $size $attfile $n2
shell "copy " $f1 " " $f2
tr
tr "Copied from " $f1 " to " $f2
$i = $dbnumber
# nextdb
db $i
loop
dbgroup e
db 2
go donewithit
# notasyscmd
tr $subject " " $dbdate " " $dbtime
# donewithit
del $q
go looknext
# done4
dbgroup e
db 1
search 1 1
test $result = out nomail
tr
tr "You Have Mail Waiting."
tr
# nomail
random