Either AddDoor is broken, or it is not what you think it is @Visam. All it does is allow you to link 2 doors together. I don't see any other functionality there.
I see Ruldaen's trouble, I can add door graphics, I can set them open or closed manually through [props command, but cannot set them to open if trying to pass through them and when clicking on them they say Locked. It seems that the Locked property has no effect on their behavior so maybe it is a bug in the Door class? I will take a look there when I can.