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