16 lines
297 B
Python
16 lines
297 B
Python
client = None
|
|
|
|
|
|
|
|
def mod_init(cl):
|
|
|
|
global client
|
|
|
|
client = cl
|
|
|
|
|
|
|
|
def on_pubchat(who, chan, msg):
|
|
if who.split('!')[0] == 'guiniolBot':
|
|
if msg.find('aurez') != -1:
|
|
client.sendto(chan, '%cACTION sort un fusil sniper et ajuste la visee sur guiniolBot...%c' % (1, 1)) |