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