| 1 | # Command aliases that you'd like reserved. |
|---|
| 2 | # Normally, commands are autoaliased to their unique prefixes, |
|---|
| 3 | # so n -> news |
|---|
| 4 | # However, you might prefer to have n not treated as a command alias |
|---|
| 5 | # because you think of it as short for 'north' and want to use a |
|---|
| 6 | # master room exit to catch it. In that case, you'd uncomment |
|---|
| 7 | # lines like this: |
|---|
| 8 | #reserve_alias e |
|---|
| 9 | #reserve_alias w |
|---|
| 10 | #reserve_alias s |
|---|
| 11 | #reserve_alias n |
|---|
| 12 | #reserve_alias nw |
|---|
| 13 | #reserve_alias ne |
|---|
| 14 | #reserve_alias sw |
|---|
| 15 | #reserve_alias se |
|---|
| 16 | #reserve_alias u |
|---|
| 17 | #reserve_alias d |
|---|
| 18 | |
|---|
| 19 | # We add a dummy here to make updating easier |
|---|
| 20 | reserve_alias dummy_exit_alias |
|---|
| 21 | |
|---|
| 22 | # You can also alias commands to other names. |
|---|
| 23 | # command_alias EXISTING_COMMAND ALIAS |
|---|
| 24 | # For example, a french-language game do the following: |
|---|
| 25 | # command_alias think pensent |
|---|
| 26 | # Some standard aliases: |
|---|
| 27 | command_alias @edit @gedit |
|---|
| 28 | # Alias read to look? |
|---|
| 29 | #command_alias look read |
|---|
| 30 | |
|---|
| 31 | command_alias look l |
|---|
| 32 | command_alias inventory i |
|---|
| 33 | command_alias @switch @sw |
|---|
| 34 | command_alias page p |
|---|
| 35 | command_alias whisper w |
|---|
| 36 | command_alias goto move |
|---|
| 37 | command_alias @atrlock @attrlock |
|---|
| 38 | command_alias @atrchown @attrchown |
|---|
| 39 | |
|---|
| 40 | # As well as commands, functions can be aliased. Same syntax, |
|---|
| 41 | # just function_alias instead of command_alias. Note that many |
|---|
| 42 | # functions use the same internal function, doing slightly different |
|---|
| 43 | # things depending on the name it was called by. The hasattr*() functions |
|---|
| 44 | # are an example of these. Aliases of this type of function may not work |
|---|
| 45 | # right. |
|---|
| 46 | # Some standard aliases: |
|---|
| 47 | function_alias lsearch search |
|---|
| 48 | function_alias soundslike soundlike |
|---|
| 49 | function_alias lstats stats |
|---|
| 50 | function_alias trunc val |
|---|
| 51 | function_alias nattr attrcnt |
|---|
| 52 | function_alias nattrp attrpcnt |
|---|
| 53 | function_alias iter parse |
|---|
| 54 | function_alias modulo mod |
|---|
| 55 | function_alias modulo modulus |
|---|
| 56 | function_alias randword pickrand |
|---|
| 57 | function_alias lthings lobjects |
|---|
| 58 | function_alias lvthings lvobjects |
|---|
| 59 | function_alias nthings nobjects |
|---|
| 60 | function_alias nvthings nvobjects |
|---|
| 61 | function_alias xthings xobjects |
|---|
| 62 | function_alias xvthings xvobjects |
|---|
| 63 | function_alias atrlock attrlock |
|---|
| 64 | |
|---|
| 65 | # For rhost compatibility |
|---|
| 66 | function_alias textfile dynhelp |
|---|
| 67 | |
|---|
| 68 | # And so can attributes! |
|---|
| 69 | attribute_alias describe desc |
|---|
| 70 | attribute_alias idescribe idesc |
|---|
| 71 | attribute_alias success succ |
|---|
| 72 | attribute_alias osuccess osucc |
|---|
| 73 | attribute_alias asuccess asucc |
|---|
| 74 | attribute_alias failure fail |
|---|
| 75 | attribute_alias ofailure ofail |
|---|
| 76 | attribute_alias afailure afail |
|---|