Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
11 lines (10 sloc) 346 Bytes
def message(pryme, message, source, target):
originalMessage = message[:]
if pryme.nick in message.pop(0):
if "test" in message.pop(0):
pryme.send(
target,
"Message :'" + originalMessage +
"' from '" + source +
"' in channel '" + target + "'"
)