chiark / gitweb /
one new slash
[irc.git] / config.py
1 # This file is part of Acrobat.
2 #
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.
7 #
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.
12 #
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
16 # USA.
17
18 # Andrew Walkingshaw <andrew@lexical.org.uk>
19 # Peter Corbett <ptc24@cam.ac.uk>
20 # Matthew Vernon <matthew@debian.org>
21
22 # Acrobat configuration file
23 # this is just python source, so has to be formatted as such
24 from commands import * 
25
26 karmafilename = "karmadump"
27
28 trouts = ("questions %s's parentage.",
29           "slaps %s about a bit with a wet trout",
30           "thumbs its nose at %s.")
31
32 selftroutrisk = 0.1 # some number between 0 and 1...
33                     # the risk of a trout rebounding on the trouter!
34                     
35 server = "irc.barrysworld.com"
36
37 port = 6667
38
39 nickname = "Acrobat"
40
41 channel = "#acrotest"
42
43 owner = "Acronym"
44
45 triggers = ("!", "~") # what character should the bot be invoked by:
46                       # eg !trout, ~trout etc.
47
48 # these are "command": (function in commands.py) pairs.
49
50 commands = {"karma": karmaq,
51             "info": infoq,
52             "trout": troutq,
53             "reload": reloadq,
54             "quit": quitq,
55             "google": googleq,
56             "say": sayq,
57             "do": doq,
58             "disconnect": disconnq,
59             "hop": disconnq }