home *** CD-ROM | disk | FTP | other *** search
/ ProfitPress Mega CDROM2 …eeware (MSDOS)(1992)(Eng) / ProfitPress-MegaCDROM2.B6I / BBS / RA / COOK_101.ZIP / COOKIE.DOC next >
Encoding:
Text File  |  1992-02-20  |  5.5 KB  |  118 lines

  1. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  2.         COOKIE.EXE v1.01 - Fortune Cookie program for ALL BBS systems
  3. Written by Earl Ruby @ KnowledgeMatters, 510/935-4878, Fidonet Node 1:161/201
  4.      The latest version of this program is available via FREQ as COOKIE
  5. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  6.  
  7.  
  8.                          <<<*>>> HISTORY <<<*>>>
  9.  
  10. I used to run a BBS system which used a little-known software package called
  11. The DMG BBS System. The DMG System had a number of interesting features, 
  12. including built-in games, a user-generated Bulletin section, and a file 
  13. system that let you cross-reference files across multiple file sections. The 
  14. DMG System also had a built-in fortune cookie program that would spew forth a 
  15. witty little saying or a quote when you logged off the system.
  16.  
  17. The original cookie file used by the DMG System was about 300K in size. I 
  18. started adding to the file, typing in funny quotes that I'd heard and merging 
  19. text files containing quotes that I would run across. Eventually the file 
  20. grew to over 725K in size.
  21.  
  22. In January 1991 I switched software packages and started using Remote Access 
  23. BBS software. Remote Access had many features that the DMG System lacked -- 
  24. and it was STABLE. I didn't have to worry about having the system crash while 
  25. I was gone on weekends, something which happened quite often with the DMG.
  26.  
  27. I wrote this program because there was no Cookie program built into Remote 
  28. Access. When I wrote the Cookie program I wanted to make sure that it would 
  29. run under ANY BBS system, because it was possible that I would switch systems 
  30. again. I've stuck with Remote Access -- I love it -- and the Cookie program 
  31. is still running strong and the Cookie file keeps growing in size. 
  32.  
  33.  
  34.                        <<<*>>> REGISTRATION <<<*>>>
  35.  
  36. I've decided to release the Cookie program as Shareware. If you like it, 
  37. send me a check for $10 or so payable to "KnowledgeMatters" and I will feel 
  38. very flattered. (As one of the quotes says: "Money is the sincerest form of 
  39. flattery.") My mailing address is:
  40.  
  41.    KnowledgeMatters
  42.    Attn: Earl Ruby
  43.    P.O. Box 5485
  44.    Walnut Creek, CA  94596
  45.  
  46. If you register and you give me a Fidonet address where you can be reached, 
  47. I will send you NetMail whenever a new version of the cookie file comes out.
  48.  
  49. I can be reached on The KnowledgeMatters BBS @ 510/935-4878, Fidonet node 
  50. 1:161/201. The latest version of Cookie can always be File-Requested (FREQ) 
  51. using the magic name "COOKIE" at HST DS speeds.
  52.  
  53.  
  54.                     <<<*>>> USING THE PROGRAM <<<*>>>
  55.  
  56. To use the program, stick the following line of code into your batch file 
  57. immediately before the batch file starts up the BBS system:
  58.  
  59. COOKIE cookie_file output_file
  60.  
  61. Where:
  62.   cookie file = path and name of the text file with cookies
  63.   output file = path and name of the file for a single cookie
  64.  
  65. Since I'm using Remote Access, and Remote Access displays a file called 
  66. GOODBYE.ANS (ANSI) or GOODBYE.ASC (ASCII) when the user logs off the system, 
  67. I could use the following line of code in my batch file:
  68.  
  69. COOKIE COOKIES.TXT C:\RA\TEXT\GOODBYE.ASC
  70.  
  71. This would create an ASCII file that the user would see when they logged off 
  72. the system. 
  73.  
  74. However, let's say that I want to generate ANSI and ASCII versions of the 
  75. quote, and I want to add a header to the message stating something like: 
  76. "Thanks for calling! The cookie monster says:" before the cookie is 
  77. displayed. To accomplish this I create two files, one called GB.ASC and one 
  78. called GB.ANS. These have a clear-screen character and the header message in 
  79. them. The .ANS file also contains color-changing information. To use these 
  80. headers, I add the following to my BBS batch file:
  81.  
  82. COOKIE COOKIES.TXT TEMP.TXT
  83. COPY GB.ANS+TEMP.TXT C:\RA\TEXT\GOODBYE.ANS
  84. COPY GB.ASC+TEMP.TXT C:\RA\TEXT\GOODBYE.ASC
  85. DEL TEMP.TXT
  86. (then call the BBS program)
  87.  
  88. This works just fine for creating ANSI and ASCII copies of the file.
  89.  
  90.  
  91.                        <<<*>>> THE COOKIE FILE <<<*>>>
  92.  
  93. The COOKIES.TXT file is a collection of quotes, sayings, pearls of wisdom, 
  94. jokes, and funny news items. Each cookie is separated by a "}" at the 
  95. beginning of the cookie. There is no minimum or maximum cookie length. You 
  96. can have a cookie file of nothing but one-liners, or a cookie file consisting 
  97. of nothing but quotes from Alice in Wonderland.
  98.  
  99. I know of one Remote Access BBS using this program that has a file of 
  100. practical jokes and pranks (& the Temple of the Screaming Electron BBS, 
  101. 510-935-5845). If a user selects the [P]rank option from the BBS's menu, it 
  102. calls the COOKIE program, extracts a prank, and then displays the prank using 
  103. a "display ASC/ANS file" menu option. Very amusing!
  104.  
  105. The COOKIES.TXT file is the product of several year's worth of collecting 
  106. quotes, sayings, and other related trivia. People are always sending me new 
  107. files of quotes to add to the file. If you have some quotes you'd like to see 
  108. added, send them to me via NetMail or upload them to the KnowledgeMatters BBS 
  109. and I'll put them in the next release.
  110.  
  111.  
  112.                                                                  Earl Ruby
  113.                                                       KnowledgeMatters BBS
  114.                                                    1:161/201, 510/935-4878
  115.                                                                   02/20/92
  116.  
  117. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  118.