forked from darkf/quizclown
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.txt
42 lines (28 loc) · 1.11 KB
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
Quick and dirty IRC trivia bot.
It's my first time writing Python, so my code
will look ugly to more competent programmers.
----------------------------------------------
How to set up quizclown
1. Get some questions and answers into the
questions.txt file. See questions-spec.txt for
details on the file format.
The script import-moxquizz.py will import the
moxquizz question database into quizclown (for details,
see the comments in import-moxquizz.py).
2. Set up parameters (IRC server, port, channel, bot owner)
by editing config.txt
3. At the shell, type
./bot2.py (Unix)
or bot2.py (Windows).
Alternately, you can double-click on bot2.py on
Windows.
Updating quizclown
Replace the *.py files in your quizclown directory
with the latest ones from the quizclown repository,
keeping your custom config.txt and questions.txt files
intact.
Custom login scripts
A 1-line custom login command can be put in
a file named "login-command.txt". It will be executed
after connection to the chat server, and the channel
will only be JOINed after a 20-second delay.