How to add/remove connections in a program?

For builders to discuss and ask building questions.
Post Reply
Dalvyn
Sword Grand Master
Sword Grand Master
Posts: 4708
Joined: Tue Jul 15, 2003 9:26 pm
Location: House of Wonder, Waterdeep

How to add/remove connections in a program?

Post by Dalvyn » Wed Aug 06, 2003 12:12 am

You can do that in a mob/room/object program as follows:

Code: Select all

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

Code: Select all

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

Code: Select all

connect east 8765 3 -1 door
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'.

Code: Select all

connect east 8765 7 8766 gate
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,

Code: Select all

connect somewhere
Post Reply