I have it running on my intranet site and the users like it.
Download it at http://www.4om.5u.com/snitz/
click on coffee.zip -- the provider doesn't like direkt links --
The most difficult part is keeping the quiz files filled with
questions of your preferred topic
'#####################################################################################
'## COFFEE MACHINE by Thomas Nyffenegger
'## a non-formal extension for snitz-forums
'##
'## Version 01-0416-En for snitz 3.14
'## (english text)
'##
'## Features:
'## after successful answering a TRIVIA-QUIZ question
'## the user gets his favorite coffee together with a quote
'## with statistics of good vs. wrong answers (coffee vs. water)
'## list of the top 5 coffee drinkers
'## cookies and a special results topic allow for one vote per user and round
'## Display all coffees served (date,coffee,user-name,quote)
'## with admin-setup, choice of refresh rate and forum-location
'##
'## Installation:
'## Copy the required files (coffee.asp, quiz.txt, quote.txt, coffee.gif) to forum
'## For SETUP run coffee.asp without parameters as admin
'## the program uses a regular SNITZ topic with replies
'## and an other topic for the high-scores - no database extension
'## If you want to allow unregistered users, you must create a user "guest" and see line 107
'## Multiple COFFEE MACHINES can be active in one Forum
'##
'## With the quotes file it's possible to include a special message line(s) beginning with: !!!!
'## If you put this line 10 times in a file with 100 lines you get a 1/10 chance the line is selected.
'## Selection of this line adds the Username+date to the counts-topic message. I use this to let people win a price.
'## The quiz and quotes are stored as single lines in text files you choose. Quiz is read sequential an quotes random.
'## The quote.txt file may contain forum code - one line per quote. The lines in the quiz.txt file use the * character
'## as devider - do not use the * character in questions or answers.
'## syntax: good choice number*question*choice1*choice2*choice3*.....
'##
'## FOR SNITZ:
'## Support can be obtained from support forums at: http://forum.snitz.com
'## or
'## Snitz Communications
'## C/O: Michael Anderson
'## PO Box 200
'## Harpswell, ME 04079
'##
'## For the COFFEE MACHINE - post your problems in http://forum.snitz.com
'## But no complains about the quality of the coffee - blame your VR-interface
'##
'###################################################################################
Edited by - antor on 29 April 2001 19:04:41