OTriviaBot by Oskar Flordal(oskar@flordal.net) http://www.lysator.liu.se/~bobby/ INTRODUCTION This a triviabot by Oskar Flordal it's based on the a2k bot by Mark Cornick available at http://accutron2000.sourceforge.net/ and uses the python irclib by Joel Rosdahl http://joel.rosdahl.net/hacks/ It's therefore ofcourse GPL software (read COPYRIGHT for more info) As I am both a GPL and python beginner please tell me if I did something the wrong way with the code or the release. You can reach me at oskar@flordal.net USAGE edit to trivconf.py to fit your needs, then run triv.py. For this you will need a recent version of python (http://www.python.org). Before you run you might also consider chaninging the questions they are all in trivia.py an written as a python list named questions. You will probably get it when you read the examples. OPERATING THE BOT (You can probably find more functionality my loopking an on_privmsg in trivbot.py) The bot will accept commands by private messages. The syntax is You should have edited to password in trivia.py useable commands are. start : Start the trivia. stop : Stops the trivia. die : Shutdown the bot. nick : change the name of the bot to . passwd : change the password to . writeconf : make changes to nick and password permanent. savescore : spara nuvarande poängställning queuevalidate: validatyes a useradded question queueremove: removes a useradded question nextnew: look at next useradded question i que channel ops can use !next : will skip this questions and go on with a new All users can use score : in a private message to get the current standings that are saved in score.py. !error : To report an error question: followed by answer: to att questions. The bot only knows trivia, use for example a2kbot(http://accutron2000.sourceforge.net) if you are looking for other features. That should be it! Have fun! CREDITS Mark Cornick for the a2k bot that a lot of non trivia functions are borrowed from Joel Rosdahl for irclib.py and ircbot.py