Skip to content
Thomas Leathers edited this page Feb 1, 2016 · 3 revisions

Welcome to the Doorway-Trivia wiki!

Doorway trivia is a gtkdialog-based trivia system written in bash.

Info on *.triv files:

place *.triv files in TRIV directory in Doorway Trivia's directory.

PLACE PLAIN TEXT NAME OF TRIVIA SCRIPT ON FIRST LINE!!!!
AT END OF SCRIPT PLACE COMMAND: END ON LAST LINE!!!!
COMMANDS MUST BEGIN ON 2nd LINE!!!!

QUIZ-Q
start command: QUIZ-Q
end command: END-QUIZ-Q
usage: quiz the user
QUIZ-Q
what time does a clock go to the doctor?
A: 4.00
B: 5.00 , C: 6.00
-A
C
END-QUIZ-Q
this will require a little more explaining...
everything before -A the user sees. while the line between -A and END-QUIZ-Q is
the correct awnser. a wrong awnser will add to question count but not correct awnser count.
while a correct awnser will add to both the correct awnser count and question count.

Clone this wiki locally