chillmeter: add unchill words

master
Casey Link 2011-09-08 15:38:04 -05:00
parent 8b62d7dc71
commit 4a475bd030
1 changed files with 20 additions and 0 deletions

View File

@ -30,6 +30,22 @@ chill_words = [
"slampiece" "slampiece"
] ]
# words that unchill the place
unchill_words = [
"dude",
"suck",
"desi",
"lame",
"imageshack",
"microsoft",
"btreecat",
"homework",
"project",
"test",
"exam",
"4chan"
]
# all things chill # all things chill
chill_things = [ chill_things = [
("natty", "natties"), ("natty", "natties"),
@ -58,6 +74,10 @@ def measure(phenny, input):
if w in input.lower(): if w in input.lower():
chill += 1 chill += 1
for w in unchill_words:
if w in input.lower():
chill -= 1
measure.channels[input.sender] = chill measure.channels[input.sender] = chill