A door, which opens and closes after pressing a button? Just button -> door. In case of a double-door, you need an inverter for the second door.
A door, which closes after you walked through? Pressure Plate on the exit-site (doesn't work well with double doors yet). Also opens automaticly when you want to walk through the door from the plate-side.
Sorry I didn't explain in more detail, I need it for a minecart booster dispenser. So, minecarts stack up on top of a door, then I need a way of closing the door right after a minecart falls down onto the track, then I also need away for it to open so another minecart can fall onto the track. Could I use detector rails at the start of the booster track and at the end of the tracks ti signal to the door for it to open or close?
Private Mod Note
Rollback Post to RevisionRollBack
Failure is just finding a way not to do something.