G General

JE Trivia Version 1.1

JE Trivia
Details
Features
Contents
Reviews

The Trivia script will keep track of how many questions are in each of the notecards you place within it. When it is time to choose a question it will pick one of those questions at random, speaking the question and waiting for someone to provide the answer. When someone gives the proper answer, it will pay out to them and present the next question.

There is a settings notecard that is used to control various options with the Trivia script. They are set up as follows:
title=
This is used to provide the text that will float over the trivia game object, and there are several special codes you can put into the text. These are:
\n insert a line break at this point. This will result in presenting the title with multiple lines.
\P This sequence will be replaced with the payout amount for getting the right answer.
\T This sequence will be replaced with the total amount that has been payed out by the game.
color=
This sets the color for the floating text displayed over the game object. The available colors are:
black, white, gray, dark gray, red, dark red, green, dark green, blue, dark blue,
cyan, dark cyan, yellow, dark yellow, purple, dark purple, pink
payout=
This specifies the number of Lindens that will be paid out to the person that gets the right answer.
delay=
This specifies the amount of time the game will wait between questions. If no one gets the right answer within this time, it will then pick another question and ask that. If someone does get the right answer before then, it will still wait until this time has passed before asking another question.
admin=
This can be entered more than once, and it provides the names of avatars that are to be considered administrators, allowed to access the menu options of the game.
notecard=
This can be used to specify the name of the instruction notecard to hand out. The default value is Trivia Instructions.

The question notecards will have one question per line. Each line will have the question, followed by a question mark (?), then followed by the answer.

When looking for an answer, the Trivia game will ignore letter case, and will ignore extra spaces. But that I mean, if an answer is put in the question notecard as: "Vitamin A" (no quotes), the answer that will be looked for is "vitamin a", all the extra spaces will be compressed down to 1. The same will be done with answers provided by people in open chat. Finally, when comparing what people say to the answer, the Trivia game will not require a perfect word match. What that means is that if the answer is "apple" and someone says "is it apples?" they will be considered to have gotten the right answer.

You can create an answer that accepts one of several answers by separating them with "||". For example: 11||eleven will accept either "11" or "eleven" as a correct answer.

You can also create an answer that will accept a collection of answers in any order by separating the items with "&&". For example: one&&two&&three will accept "one two three" "three two one" "two, one, three" as correct answers.

The Trivia came lets you put questions into as many notecards as you wish, as long as they all fit in the inventory of the object, and wil use all of them at once. This will allow you to break up your questions by category if you want. If you add or change or remove a notecard, the game will rescan all the notecards when it goes to load the next question, so you do not need to tell it to reload.

Administrators will be able to click on the object and get a menu, with options available depending on what state the game is in.

When waiting for an answer, the game will offer the following options:
Stop
Stop the game, stop listening for answers or providing questions
Reload
Reload the settings configuration notecard and restart the game. this will also reset the total paid out.
Answer
Send the answer to the current question as an IM to the administrator who brought up the menu.
Next Ques
Advance to the next question immeadiately

When the game is stopped, the available options will be:
Start
Start the game, getting a new question and asking it
Reload
Reload the settings configuration notecard and restart the game. this will also reset the total paid out. This will also start the game again.

If you have any questions about this game, contact Earle Swenson.

  • Optional payout for correct answers
  • Fully customizable - look and questions
  • Can match lists in any order
  • Can have multiple correct answers for a question
Average rating: full star full star full star full star full star
  • 5 star:
  • 4 star:
  • 3 star:
  • 2 star:
  • 1 star: