From df0652302c32a4f6e255f686998480de02af9c49 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Mon, 17 Nov 2003 06:06:43 +0000 Subject: [PATCH] Fixed help string for alias add. --- plugins/Alias.py | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/plugins/Alias.py b/plugins/Alias.py index ca369fed6..33f4e8241 100644 --- a/plugins/Alias.py +++ b/plugins/Alias.py @@ -237,12 +237,15 @@ class Alias(callbacks.Privmsg): raise AliasError, 'There is no such alias.' def add(self, irc, msg, args): - """ + """ - Defines an alias for the commands . The - should be in the standard [command argument [nestedcommand argument]] - format. Underscores can be used to represent arguments to the alias - itself; for instance ... + Defines an alias that executes . The + should be in the standard "command argument [nestedcommand argument]" + format. $[digit] (like $1, $2, etc.) can be used to represent + arguments to the alias; they'll be filled with the first, second, etc. + arguments. @1, @2 can be used for optional arguments. $* simply + means "all remaining arguments," and cannot be combined with optional + arguments. """ (name, alias) = privmsgs.getArgs(args, required=2) try: