]> gitweb.pimeys.fr Git - bots/saturnin.git/blob - config.py
Au revoir jben
[bots/saturnin.git] / config.py
1 #!/usr/bin/python
2 # -*- coding:utf8 -*-
3
4 # Configuration d'un bot IRC (squelette de base vide)
5
6 debug_stdout=True
7
8 # la config irc-related
9 irc_password="96ac0342a3ccf9553e3d4c9da9b821b0"
10 irc_pseudo="Saturnin"
11 chanlist=["#flood", "#bot"] # liste des chans à rejoindre
12 stay_channels=["#flood", "#bot"] # liste des chans que le bot ne quitte pas, même sur demande d'un leave de la part d'un OP
13 quiet_channels=[] # liste des chans sur lesquels le bot ne parle pas
14 play_channels = ["#flood"]
15
16 report_bugs_to = ["[20-100]"]
17 # les logs
18 logfile_template="saturnin.%s.log" # fichier de log (%s est remplacé par le nom du serveur)
19
20 # les ops
21 overops=["[20-100]"] # liste des OVEROPs (meilleurs que les OP ^^)
22 ops=[] # liste des OPs
23
24 # config UTF8-fail
25 utf8_fail_answers = [u"Couac !"]
26 utf8_trigger = True # râlé-je en cas de non-utf8 ?
27
28 # config on m'a demandé de mourir/partir
29 quit_messages=[u"For a man who has done his natural duty, death is as natural as sleep."]
30 leave_messages=quit_messages
31
32 quit_fail_messages = [u"Do they teach you that in the CIA?"]
33 leave_fail_messages = quit_fail_messages
34
35 # config spécial canard
36 canards = [ur"\_%s< " % (tete) for tete in u"0óøoOØ@"] + [""]
37
38 killwords = [u"pan", u"bim", u"bang"]
39
40 score_file="scores.pickle"
41
42 spawn_delays = [60*120, 60*240]
43 spawn_sentences = [
44 u"Coin ! Coin !",
45 u"A year spent in artificial intelligence is enough to make one believe in God.",
46 u"Coin ! Coin ! I've got a bad feeling about this.",
47 u"I'm the king of the world!",
48 u"I am INVINCIBLE!",
49 u"Coin ! Coin ! Run Forrest! Run!",
50 u"Airplanes may kill you, but they ain't likely to hurt you.",
51 u"For NASA, space is still a high priority.",
52 u"Live long and prosper",
53 u"I'm the king of the world!",
54 u"zzzzzzzZZZZZZZZZZzzzzzzzzzzZZZZZZZZZz",
55 u"The only time I have problems is when I sleep.",
56 u"Think in the morning. Act in the noon. Eat in the evening. Sleep in the night.",
57 u"Life is something to do when you can't get to sleep.",
58 u"Men talk of killing time, while time quietly kills them.",
59 u"Coin ! Coin ! It's a bird...it's a plane...it's _________!",
60 ]
61
62 killed_templates = [u"I was killed by {0}"]
63 proba_miss = 30 #%
64 miss_templates = [
65 u"The (bad) hunter {0} missed me !!!",
66 u"The (bad) hunter {0} missed me !",
67 u"The (bad) hunter {0} missed me...",
68 u"The (bad) hunter {0} tried ... aw come on, baby, just touch it",
69 u"The (bad) hunter {0} missed it by that much",
70 u"The (bad) hunter {0} didn't touch me ... Victory is mine!",
71 u"The (bad) hunter {0} Tried to kill me But, Noooooooooooo!",
72 u"The (bad) hunter {0} have made a FAIL shot Do they teach you that in the CIA?",
73 ]
74 proba_miss_sentence = 50 #%
75 miss_sentences = [
76 u"Are you on drugs ?",
77 u"I've seen penguins that can shoot better than that.",
78 u"Priceless. There is things you cannot buy, for the rest there is…",
79 u"I can't hear you ! I'm using the scrambler.",
80 ]
81 proba_killed_sentence = 40 #%
82 killed_sentences = [
83 u"While I thought that I was learning how to live, I have been learning how to die.",
84 u"I can see your force is bigger than mine",
85 u"Do you like D*cks ???",
86 u"I'll be back.",
87 u"I am become death, the destroyer of worlds.",
88 u"I believed I was invincible.",
89 u"Aw, crap...",
90 u"Everything that has a beginning, has an end.",
91 u"SOMEONE CALL 911!!!",
92 u"And loving it!",
93 u"NOOOOOOO!",
94 u"I'm calling you a killer. A natural born killer. You always have been, and you always will be.",
95 u"Are you the farmer?",
96 ]
97
98 times_up_delays = [60*10, 60*20]
99 times_up_sentences = [u"I stayed alive, you're too slow !!!"]
100
101 #: bad guys
102 blacklisted_masks = [("*!leger@zamok.crans.org", None), ("*!*@alpha.jben.info", None)]
103