@lock attribute - luxembourg/muxcode-clm GitHub Wiki
@LOCK ATTRIBUTE (continued)
Note: you may lock against any attribute, but the locked object must be able to read the attribute from the player attempting to pass the lock or the lock will fail.
Examples: > @lock men's room=sex:m* > @lock a-f=name:<g > @lock post office=email:@
Related Topics: ATTRIBUTE OWNERSHIP, @lock evaluation
cards, greater than and less than may be used, for example: '@lock a-f=name:<g' will lock the exit a-f against any one whose name is higher than f.
Both the player testing the lock and every object in his inventory is checked, the player passes the lock if any of those objects passes the lock. If the attribute name is prefixed by a = then only the player is checked. Similarly, if the attribute name is prefixed by a + then only objects in the player's inventory are tested.
{ 'help @lock attribute2' for more }