Added arg command.

This commit is contained in:
Jeremy Fincher 2003-04-08 08:20:48 +00:00
parent 4cdf013c14
commit c8c7c40791
1 changed files with 4 additions and 0 deletions

View File

@ -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