1 # This file is part of Acrobat.
3 # Acrobat is free software; you can redistribute it and/or modify
4 # it under the terms of the GNU General Public License as published
5 # by the Free Software Foundation; either version 2 of the License,
6 # or (at your option) any later version.
8 # Acrobat is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY; without even the implied warranty of
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 # GNU General Public License for more details.
13 # You should have received a copy of the GNU General Public License
14 # along with Acrobat; if not, write to the Free Software
15 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
18 # Andrew Walkingshaw <andrew@lexical.org.uk>
19 # Peter Corbett <ptc24@cam.ac.uk>
20 # Matthew Vernon <matthew@debian.org>
22 # Acrobat configuration file
23 # this is just python source, so has to be formatted as such
24 from commands import *
26 karmafilename = "karmadump"
28 trouts = ("questions %s's parentage.",
29 "slaps %s about a bit with a wet trout",
30 "thumbs its nose at %s.")
32 selftroutrisk = 0.1 # some number between 0 and 1...
33 # the risk of a trout rebounding on the trouter!
35 server = "irc.barrysworld.com"
45 triggers = ("!", "~") # what character should the bot be invoked by:
46 # eg !trout, ~trout etc.
48 # these are "command": (function in commands.py) pairs.
50 commands = {"karma": karmaq,
58 "disconnect": disconnq,