From 9a79c6b0eeba40d60001ded8606e956359f1d09b Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Tue, 8 Apr 2003 07:19:56 +0000 Subject: [PATCH] Added echo command. --- plugins/Utilities.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/plugins/Utilities.py b/plugins/Utilities.py index 43dfe5765..eb4e2807f 100644 --- a/plugins/Utilities.py +++ b/plugins/Utilities.py @@ -59,6 +59,14 @@ class Utilities(callbacks.Privmsg): if sep == '': sep = None irc.reply(msg, text.split(sep)) + + def echo(self, irc, msg, args): + """takes any number of arguments + + Returns the arguments given it. + """ + irc.reply(msg, ' '.join(args)) + Class = Utilities # vim:set shiftwidth=4 tabstop=8 expandtab textwidth=78: