def reverse(connection, channel, nick, cmd, args): """Gives back the string reversed""" print args,"->",args[::-1] txt = plugins.myfilter(args[::-1]) plugins.say_nick(connection, channel, nick, txt)
def say(connection, channel, nick, cmd, args): print "say", args if not args: return plugins.say_nick(connection, channel, nick, plugins.myfilter(args))