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 >
Text File  |  1989-03-01  |  1KB  |  39 lines

  1. COOKIE.TOS - A combination 'Fortune Cookie' and 'Last Caller' login door for
  2. STadel 3.3C and above. You can also run the 'Fortune Cookie' part as 
  3. a stand-alone by using the '-l' switch.
  4.  
  5. Prints out a 'fortune cookie' chosen at random from a file named 
  6. 'cookie.dat' in the same path as 'cookie.tos' is run. If it can't find
  7. 'cookie.dat' then the message 'All cookies are broken!' is printed. This
  8. message is also printed if the random number generated is larger than the
  9. position of the last 'fortune cookie' but less than the size of the cookie 
  10. file.
  11.  
  12. Prints 'Last Caller Was:<username>', extracting that information from
  13. STadel-ST's calllog.sys file. The calllog.sys file MUST be in the same path
  14. that 'cookie.tos' was called. If the a call is received after system is
  15. brought up, but no one has called, the last caller is indentified as 'Citadel'.
  16.  
  17. The easiest way to make sure the data files are found is to make your lobby
  18. room a directory room pointing to your AuditDir and keep cookie.dat in
  19. that directory. You can if desired make the looby a non-readable directory
  20. so your users can't access your audit files.
  21.  
  22. cookie -l -c
  23.  
  24. -l - Supress the 'Last Caller Was:' message.
  25.  
  26. -c - Supress the 'cookie' message.
  27.  
  28. You can specify both to be supressed, but that wouldn't make much sense:-)
  29.  
  30. The 'cookie.dat' file format is:
  31. <saying><ASCII.FormFeed><saying><ASCII.FormFeed>......
  32.  
  33.  
  34.  
  35. 02/25/89
  36. Jim Kershner
  37. sysop@The_Land
  38. (513) 254-6811
  39.