From c8c7c40791f3c7cde62756b0662b6801589466dd Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Tue, 8 Apr 2003 08:20:48 +0000 Subject: [PATCH] Added arg command. --- plugins/Utilities.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plugins/Utilities.py b/plugins/Utilities.py index eb4e2807f..4bfa1a3d2 100644 --- a/plugins/Utilities.py +++ b/plugins/Utilities.py @@ -66,6 +66,10 @@ class Utilities(callbacks.Privmsg): Returns the arguments given it. """ irc.reply(msg, ' '.join(args)) + + def arg(self, irc, msg, args): + i = int(args.pop(0)) + irc.reply(msg, args[i]) Class = Utilities