Open LiamKenneth opened 2 years ago
$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?'
$9 may be used to represent arguments given with an alias.
Examples:
Would cast fireball on fido, followed by casting harm on mage. Variables may be used repeatedly and in any order:
The special variable $* represents the entire input line after an alias: