BEHAVIOR-ADDRESSES
Rooms, creatures and objects by name in behaviours
Wherever a behaviour takes the number of a room, a creature or an object, it also takes the thing's address. That is its zone, a dot and its name (club.west-bridge, or an old name that is kept as an alias). Inside the zone that holds the behaviour, a dot and the name are enough (.west-bridge). The number form is the old one. It still works until the numbers are retired.
| Invoker mobile, object, inroom | Invoker (hour '7') mobile .guard inroom .gatehouse limit 1 |
| Teleporter room | Teleporter (say 'home') (focus actor room moz.temple) |
| Changeling mobile, object, or the first word | Changeling (examine 'puca') .puca-wild |
| Exiter source, destination, key | Exiter (say 'open') source .hall n destination .vault key .brass-key |
| OpenSesame, CloseSesame, Lock, Unlock: the room first | OpenSesame (say 'open') .hall door n |
| Tracker room | Tracker (hour '15') room .market |
| Merchant invokes, Taker needs | Taker needs .red-gem needs .blue-gem |
| charmatch mob, obj, objeq, objvis; objmatch obj | (say 'pass' cm (objeq .signet-ring)) |
| <all <room>>, <spawn> destination room, (use <object>) | <all .bell-tower>The bell rings. |
An address is read exactly. When it names nothing, or names a thing of another kind, the behaviour does nothing there and the problem is shown as an invalid behaviour, with the address.