home *** CD-ROM | disk | FTP | other *** search
- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
- COOKIE.EXE v1.01 - Fortune Cookie program for ALL BBS systems
- Written by Earl Ruby @ KnowledgeMatters, 510/935-4878, Fidonet Node 1:161/201
- The latest version of this program is available via FREQ as COOKIE
- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
-
-
- <<<*>>> HISTORY <<<*>>>
-
- I used to run a BBS system which used a little-known software package called
- The DMG BBS System. The DMG System had a number of interesting features,
- including built-in games, a user-generated Bulletin section, and a file
- system that let you cross-reference files across multiple file sections. The
- DMG System also had a built-in fortune cookie program that would spew forth a
- witty little saying or a quote when you logged off the system.
-
- The original cookie file used by the DMG System was about 300K in size. I
- started adding to the file, typing in funny quotes that I'd heard and merging
- text files containing quotes that I would run across. Eventually the file
- grew to over 725K in size.
-
- In January 1991 I switched software packages and started using Remote Access
- BBS software. Remote Access had many features that the DMG System lacked --
- and it was STABLE. I didn't have to worry about having the system crash while
- I was gone on weekends, something which happened quite often with the DMG.
-
- I wrote this program because there was no Cookie program built into Remote
- Access. When I wrote the Cookie program I wanted to make sure that it would
- run under ANY BBS system, because it was possible that I would switch systems
- again. I've stuck with Remote Access -- I love it -- and the Cookie program
- is still running strong and the Cookie file keeps growing in size.
-
-
- <<<*>>> REGISTRATION <<<*>>>
-
- I've decided to release the Cookie program as Shareware. If you like it,
- send me a check for $10 or so payable to "KnowledgeMatters" and I will feel
- very flattered. (As one of the quotes says: "Money is the sincerest form of
- flattery.") My mailing address is:
-
- KnowledgeMatters
- Attn: Earl Ruby
- P.O. Box 5485
- Walnut Creek, CA 94596
-
- If you register and you give me a Fidonet address where you can be reached,
- I will send you NetMail whenever a new version of the cookie file comes out.
-
- I can be reached on The KnowledgeMatters BBS @ 510/935-4878, Fidonet node
- 1:161/201. The latest version of Cookie can always be File-Requested (FREQ)
- using the magic name "COOKIE" at HST DS speeds.
-
-
- <<<*>>> USING THE PROGRAM <<<*>>>
-
- To use the program, stick the following line of code into your batch file
- immediately before the batch file starts up the BBS system:
-
- COOKIE cookie_file output_file
-
- Where:
- cookie file = path and name of the text file with cookies
- output file = path and name of the file for a single cookie
-
- Since I'm using Remote Access, and Remote Access displays a file called
- GOODBYE.ANS (ANSI) or GOODBYE.ASC (ASCII) when the user logs off the system,
- I could use the following line of code in my batch file:
-
- COOKIE COOKIES.TXT C:\RA\TEXT\GOODBYE.ASC
-
- This would create an ASCII file that the user would see when they logged off
- the system.
-
- However, let's say that I want to generate ANSI and ASCII versions of the
- quote, and I want to add a header to the message stating something like:
- "Thanks for calling! The cookie monster says:" before the cookie is
- displayed. To accomplish this I create two files, one called GB.ASC and one
- called GB.ANS. These have a clear-screen character and the header message in
- them. The .ANS file also contains color-changing information. To use these
- headers, I add the following to my BBS batch file:
-
- COOKIE COOKIES.TXT TEMP.TXT
- COPY GB.ANS+TEMP.TXT C:\RA\TEXT\GOODBYE.ANS
- COPY GB.ASC+TEMP.TXT C:\RA\TEXT\GOODBYE.ASC
- DEL TEMP.TXT
- (then call the BBS program)
-
- This works just fine for creating ANSI and ASCII copies of the file.
-
-
- <<<*>>> THE COOKIE FILE <<<*>>>
-
- The COOKIES.TXT file is a collection of quotes, sayings, pearls of wisdom,
- jokes, and funny news items. Each cookie is separated by a "}" at the
- beginning of the cookie. There is no minimum or maximum cookie length. You
- can have a cookie file of nothing but one-liners, or a cookie file consisting
- of nothing but quotes from Alice in Wonderland.
-
- I know of one Remote Access BBS using this program that has a file of
- practical jokes and pranks (& the Temple of the Screaming Electron BBS,
- 510-935-5845). If a user selects the [P]rank option from the BBS's menu, it
- calls the COOKIE program, extracts a prank, and then displays the prank using
- a "display ASC/ANS file" menu option. Very amusing!
-
- The COOKIES.TXT file is the product of several year's worth of collecting
- quotes, sayings, and other related trivia. People are always sending me new
- files of quotes to add to the file. If you have some quotes you'd like to see
- added, send them to me via NetMail or upload them to the KnowledgeMatters BBS
- and I'll put them in the next release.
-
-
- Earl Ruby
- KnowledgeMatters BBS
- 1:161/201, 510/935-4878
- 02/20/92
-
- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
-