unlock

Purpose: unlock a lock.
Synonyms: none

SYNTAX EXAMPLES
1. unlock <target> 1. unlock lock
2. unlock <target> <specifier> 2. unlock lock big
3. unlock <specifier> <target> 3. unlock big lock
4. unlock <n>.<target> 4. unlock 2.lock

USE:

  1. Use form one when there's no possible ambiguity. In the example, there's only one lock in the current room.
  2. 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.
  3. 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.
  4. Use form four when there are many instances of <target> available, and you want to unlock one of them in particular.

To unlock something you must be holding the correct key.

As is typical of most Midgaard commands, Unlock 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 "unlock box" will refer to the one in the room, not your inventory. You'd need to use "unlock 2.box" for the latter.


Complete command reference:

Player Command Reference home
Complete Player Command Reference