You can do that in a mob/room/object program as follows:
will remove the connection east (if there is one) and make a connection east to the room 8765.
will simply remove the connection east (if there is one).
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'.
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 "somwhere" connection, you would use this.
Code: Select all
connect +somewhere roomvnum 524288 keyword
And to remove this connection,