Door action runs for one time and when door opens, then it doesn't work again

But you can add closing door thing to that and it'll change the code of course ...
Trying now...
EDIT: It's working as I said if it is what you wanted. I have just made some little changes to make it worked with player action. But the point is same..