I thought building an addon example would be easy, but it took more time than I thought.
3.83.15a has 2 new options "Addon Engine" and "Addon Engine Text"
With first option Viper will make a call to addon engine for every irc message. Addon Engine Text option only makes a call on Privmsg, Whisper, and Notice. In other words, the call overhead won't speed critical protection features like mode lock when "only Addon Engine Text." Each call to ViperEngine carries an overhead of 6 microseconds, which is very minute, but if some feels that it is slowing down the protection than they can just use the addon for text messages and play games like Trivia.
Viper 3.83.15a:
vipercentral.vze.com/downloads/dl.php?dfile=FullSetup_3_83_15.zipTrivia Game:
vipercentral.vze.com/downloads/dl.php?dfile=TrivaAddon.zipUse: It doesn't matter where it is located, but to keep things organized make an addon folder in viper folder and load the game. After opening the game you will see "ABCAddon" directory. In that directory you will see "trivia_quizdata.txt" file. If you don't see the directory and file just create one, in the same folder of the trivia addon.
Paste this in the file:
beginquiz
"Programming History", 2
"Boolean operators are named after? 
a.George Boole 
b. Tom Cruise 
c. G. W. Bush", "a", " 'a. George Boole.'", 5, 10
"Who is Marc Andreesen? 
a. Developer of Mosaic and cofounder of Netscape 
b. He invented the wheel 
c. He went to Mars", "a", " 'a. Developer of Mosaic and cofounder of Netscape.'", 5, 10
endquiz
first and last flags are easy: they mark the beginning and end of a quiz.
2. is the programming name.
3. is number of questions
4. is the question.
5. is the correct answer that will be match against the replies.
6. the detailed correct answer that will be shown in the room.
7. is the points for this question... some questions are easy and some are hard you can adjust the points.
8. Timeout period. If it's -1 then the players will have unlimited time.
Steps 2 to 8 repeat for the second question.
People can answer the question by like typing "!:" with out the quotes.
For queries use these 2 commands:
!playerstats
!quizstats
One problem with a trivia quiz is that that you need to have a second window to see what the trivia game is doing. There is a way to send messages to viper window... This is a basic example on "how to develope addons for viper in VB" which should get any developer going. I have mentioned in the source code on how you can show messages in viper window.
Here is a source for Trivia Addon for developers:
vipercentral.vze.com/downloads/dl.php?dfile=TrivaAddonSource.zipInstructions are with in the source code, they can use it as a template to build addons for viper.
Thanks for all the support, now I can have my dinner happily.