> cat /help/alias
> _
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: ALIAS SYSTEM ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: SYNTAX: alias - List all your aliases alias <name> - Show what an alias does alias <name> <command> - Create a new alias ralias <name> - Remove an alias DESCRIPTION: Aliases allow you to create shortcuts for commonly used commands. You can have up to 50 aliases, each up to 20 characters long. EXAMPLES: alias n north - Make 'n' move you north alias hw say hello world - Make 'hw' say "hello world" alias gs get all/sell all - Chain commands with / ARGUMENT SUBSTITUTION: $* - All arguments $1 - First argument $2 - Second argument $1- - First argument onwards $2-3 - Arguments 2 through 3 Example: alias t tell $1 $2- Usage: t bob hello there → tell bob hello there SPECIAL ALIAS - .LOGIN: The .login alias executes automatically when you log in. SYNTAX: alias .login <command1/command2/...> Commands are separated by forward slashes (/). Maximum of 8 commands in your .login alias. EXAMPLE: alias .login who/shout I'm back!/look This would: 1. Show who's online 2. Shout "I'm back!" 3. Look at your current room RESTRICTIONS: • Cannot create aliases for: alias, ralias, quit, save • Cannot create self-referencing aliases • Aliases cannot conflict with existing commands :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
> _