Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ALIAS Command #46

Open
LiamKenneth opened this issue May 1, 2022 · 0 comments
Open

ALIAS Command #46

LiamKenneth opened this issue May 1, 2022 · 0 comments

Comments

@LiamKenneth
Copy link
Member

$9 may be used to represent arguments given with
an alias.

Examples:

alias killem cast 'fireball' $1; cast 'harm' $2
killem fido mage

Would cast fireball on fido, followed by casting harm on mage. Variables
may be used repeatedly and in any order:

alias helpem cast 'heal' $1; cast 'bless' $1; cast 'armor' $1

The special variable $* represents the entire input line after an alias:

alias tr tell rasmussen $*
tr hi there, how are you today?
You tell Rasmussen, 'hi there, how are you today?'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant