If you follow the logic of the code, you'll figure out that the following lines are the ones that concern your question:
Code:
set %trivia.rand $rand(1,$lines(trivia.txt))
set %trivia.n $read(trivia.txt,%trivia.rand)
set %trivia.q $gettok($read(trivia.txt,%trivia.rand),1,42)
set %trivia.a $gettok($read(trivia.txt,%trivia.rand),2,42)
set %trivia.h1 $trivhint(%trivia.a,2,*)
set %trivia.h2 $trivhint(%trivia.a,3,*)
set %trivia.h3 $trivhint(%trivia.a,4,*) 


Now, you find that each line of the trivia.txt file is a self-contained question, hints, and answer.

Quote:

-question
-hint 1
-hint 2
-hint 3
-hint 4


Close. The hints are based off of the answer.
Basically, the script will read the question, and then check if anyone says the answer. If no one says it within a certain amount of time, it formulates a hint to the answer which is a 'masked' (partially shown) version of the answer.

The format for the lines in the file are as follows:
question*answer

One question/answer per line.

Experiment with it from there, and you should figure out what types of questions work best in this format, etc.

hope this helps,

HobophobE