]> jfr.im git - erebus.git/blobdiff - modules/contrib/trivia/trivia.json.example
trivia - updated example json
[erebus.git] / modules / contrib / trivia / trivia.json.example
index b0bc9a094bb384f2e3b73d6b090262b2a2a06cfa..e3e462f6191b20d5e248c463f8c678ff3a6de08f 100644 (file)
@@ -1,12 +1,39 @@
 {
-       "target": 500,
-       "chan": "##.test",
-    "ranks": [],
-    "users": {},
-    "questions": [
-        {
-            "answer": ["dimecadmium","wibble","i am"],
-            "question": "Who is da boss?"
-        }
-    ]
+    "category": "foo",
+    "questions": {
+        "foo": [
+            [
+                "foo",
+                "bar"
+            ],
+            [
+                "bar",
+                "baz"
+            ]
+        ]
+    },
+    "users": {
+    },
+    "lastwinner": "noone",
+    "hoflines": 2,
+    "hintnum": 3,
+    "hofformat": "<TABLE BORDER='3' CELLSPACING='1' CELLPADDING='3' valign=center BORDERCOLOR='#999999' width=80%%><TR><td width=33%%><STRONG>Date:</STRONG> %(date)s</TD><td width=33%%><STRONG>Round duration:</STRONG> %(duration)s</TD><td width=33%%><STRONG>Target Score:</strong> %(targetscore)s</TD></TR><TR><td width=33%%><FONT COLOR='#FFD700'>First: <strong>%(firstperson)s (%(firstscore)s)</strong></FONT></TD><td width=33%%><FONT COLOR='#99999'>Second: <STRONG>%(secondperson)s (%(secondscore)s)</STRONG></FONT></TD><td width=33%%><FONT COLOR='#996633'>Third: <STRONG>%(thirdperson)s (%(thirdscore)s)</STRONG></FONT></TD></TR></TABLE><br><br>",
+    "chan": "#foo",
+    "votetimer": 30,
+    "questionpause": 5.0,
+    "badqs": [],
+    "hofpath": "/home/hash/www/hof.html",
+    "topicformat": "\u00037Game is to \u001f%(target)s\u001f!\u0003 \u00035Last winner:\u0003 \u00036%(lastwinner)s\u0003 on \u00036%(lastwon)s\u0003. \u00035Top 3:\u0003 \u00036%(top3)s\u0003",
+    "ranks": [
+    ],
+    "targetoptions": [
+        500,
+        1000,
+        1337
+    ],
+    "lastwon": 0,
+    "maxmissedquestions": 25,
+    "hinttimer": 10.0,
+    "starttime": 0,
+    "target": 500
 }