You are looking at a command called unlock

unlock {object}
unlock {object} with {object}

Simply unlocking an object makes its display in un-bold text and allows anyone to tamper with it (get it, paint it etc..)

You can only unlock objects which were locked by you.

eg: unlock the elephant

read the command called lock if you want to lock objects.

Unlocking an object with a second (key-type) object removes any restrictions imposed on the locked object, so long as you use te exact same key-type object that was used to lock it in the first place.

The second key-type object can be something in your inventory inv or in the same location as you.

eg: unlock the shed with the spade
In this example, you will be able to go into the shed once it has been unlocked with the spade, so long as the spade was the exact object used to lock the shed in the first place.

read some info about locking and unlocking


Scripting notes
when an object is sucessfully unlocked with a key-type object the trigger word 'unlocks' is sent out to the room.

When an object is successfully unlocked (made un-bold) it sends out the trigger word 'unlocksobj'
Code