mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-25 19:44:13 +01:00
Better (?) help message. Comments/changes welcome.
This commit is contained in:
parent
80fe67519b
commit
73a3261cda
@ -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 $*.
|
||||||
|
Loading…
Reference in New Issue
Block a user