home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
GEMini Atari
/
GEMini_Atari_CD-ROM_Walnut_Creek_December_1993.iso
/
files
/
bbs
/
lastcook
/
cookie.doc
< prev
next >
Wrap
Text File
|
1989-03-01
|
1KB
|
39 lines
COOKIE.TOS - A combination 'Fortune Cookie' and 'Last Caller' login door for
STadel 3.3C and above. You can also run the 'Fortune Cookie' part as
a stand-alone by using the '-l' switch.
Prints out a 'fortune cookie' chosen at random from a file named
'cookie.dat' in the same path as 'cookie.tos' is run. If it can't find
'cookie.dat' then the message 'All cookies are broken!' is printed. This
message is also printed if the random number generated is larger than the
position of the last 'fortune cookie' but less than the size of the cookie
file.
Prints 'Last Caller Was:<username>', extracting that information from
STadel-ST's calllog.sys file. The calllog.sys file MUST be in the same path
that 'cookie.tos' was called. If the a call is received after system is
brought up, but no one has called, the last caller is indentified as 'Citadel'.
The easiest way to make sure the data files are found is to make your lobby
room a directory room pointing to your AuditDir and keep cookie.dat in
that directory. You can if desired make the looby a non-readable directory
so your users can't access your audit files.
cookie -l -c
-l - Supress the 'Last Caller Was:' message.
-c - Supress the 'cookie' message.
You can specify both to be supressed, but that wouldn't make much sense:-)
The 'cookie.dat' file format is:
<saying><ASCII.FormFeed><saying><ASCII.FormFeed>......
02/25/89
Jim Kershner
sysop@The_Land
(513) 254-6811