save datefmt
save filesort

default calls 0
save calls
add calls 1

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

# We let guest users skip the Spanish Inquisition so they can go straight to
# the file areas. Note that variables cpu etc. don't exist for them, but as
# they are not actually used that isn't a problem.
guest = 1 jump NoMail

newuser = 1 menu 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]
menu menus/main