generated from Nemesis/Exemple
regexp kapoue
This commit is contained in:
parent
edfa4b9fb0
commit
6d3263ec18
1 changed files with 1 additions and 1 deletions
|
@ -794,7 +794,7 @@ def statistiques(room,event):
|
|||
usrstats2.char = usrstats1.char
|
||||
|
||||
# si kapoue, recup nb kapoue +1, 1 sinon
|
||||
if (re.match(".*KAPOUE|[Kk]apoue", event['content']['body'])):
|
||||
if (re.match(".*KAPOUE|.*[Kk]apoue", event['content']['body'])):
|
||||
if (usrstats1.kapoue >= usrstats2.kapoue):
|
||||
usrstats2.kapoue = usrstats1.kapoue + 1
|
||||
usrstats1.kapoue = usrstats2.kapoue
|
||||
|
|
Loading…
Reference in a new issue