lock
Synonyms: none
SYNTAX | EXAMPLES |
---|---|
1. lock <target> | 1. lock lock |
2. lock <target> <specifier> | 2. lock lock big |
3. lock <specifier> <target> | 3. lock big lock |
4. lock <n>.<target> | 4. lock 2.lock |
USE:
- Use form one when there's no possible ambiguity. In the example, there's only one lock in the current room.
- Use form two or three when more information is needed to interpret the command — that is, there's more than one possible target by the same name to which the command could be applied. In the example, there's a big lock, a small lock, etc.
- Use form two or three when more information is needed to interpret the command — that is, there's more than one possible target by the same name to which the command could be applied. In the example, there's a big lock, a small lock, etc.
- Use form four when there are many instances of <target> available, and you want to lock one of them in particular.
To lock something you must be holding the correct key.
As is typical of most Midgaard commands, Lock searches for <target> in a specific order, starting with the room you're in, then your worn or wielded equipment, then your inventory. So, if there's a box in the room, and a box in your inventory, the command "lock box" will refer to the one in the room, not your inventory. You'd need to use "lock 2.box" for the latter.
Complete command reference:
Player Command Reference home
Complete Player Command Reference