Better (?) help message. Comments/changes welcome.

This commit is contained in:
James Vega 2004-12-03 01:57:00 +00:00
parent 80fe67519b
commit 73a3261cda

View File

@ -267,9 +267,9 @@ class Alias(callbacks.Privmsg):
Defines an alias <name> that executes <alias>. The <alias> Defines an alias <name> that executes <alias>. The <alias>
should be in the standard "command argument [nestedcommand argument]" should be in the standard "command argument [nestedcommand argument]"
arguments to the alias; they'll be filled with the first, second, etc. arguments to the alias; they'll be filled with the first, second, etc.
arguments. @1, @2 can be used for optional arguments. $* simply arguments. $1, $2, etc. can be used for required arguments. @1, @2,
means "all remaining arguments," and cannot be combined with optional etc. can be used for optional arguments. $* simply means "all
arguments. remaining arguments," and cannot be combined with optional arguments.
""" """
if ' ' not in alias: if ' ' not in alias:
# If it's a single word, they probably want $*. # If it's a single word, they probably want $*.