builder's lessons » connect command

Connect command

You can connect and disconnect room exits in a mob/room/object program as follows:

connect east 8765

This will remove the connection east (if there is one) and make a connection east to the room 8765.

connect east

This will simply remove the connection east (if there is one).

connect east 8765 3 -1 door

This will remove the connection east (if there is one) and make a connection east to the room 8765 with a closed door that has the keyword 'door'.

connect east 8765 7 8766 gate

This will remove the connection east (if there is one) and make a connection east to the room 8766 with a closed and locked door that has the keyword 'gate' and can be unlocked with the key vnum 8766

For a "somewhere" connection, you would use this.

connect +somewhere roomvnum 524288 keyword

And to remove this connection,

connect somewhere