save datefmt
save filesort

default calls 0
save calls
add calls 1

# Betatesters are allowed to hang up ;-)
exit = "hangup" user != "Exile" sub timelimit 5 timelimit < 0 set timelimit 0

# To disallow guest users then comment the next line and uncomment the after one
guest = 1 jump NoMail
#guest = 1 menu/osbbs/menus/nonew
newuser = 1 menu /osbbs/menus/newuser

makedate tmp lastcall
echo "\c$white$Your last call was on $tmp$.\n"

checkmail
exitcode = 0 jump NoMail
echo "You have unread mail. Would you like to read it now (Y/n)?$grey$ "
yesno tmp
tmp = 1 readnewmail echo "\c"

[NoMail]
fortune = 0 jump NoFortune
echo "$white$Your fortune for today:$yellow$\n\n" 
door "/usr/games/fortune"
echo "\n$white$Press any key to continue.$grey$\n"
getkey tmp

#more /usr/doc/FAQ/linux-faq.ascii

[NoFortune]
ansi = 1 view "/osbbs/screens/logo.ansi"
ansi = 0 view "/osbbs/screens/logo.ascii"
getkey tmp
menu /osbbs/menus/main
