//Closes door if it is open void main() { DelayCommand(10.0f,ActionCloseDoor(OBJECT_SELF)); }