// Put this script OnOpen. void main() { DelayCommand(10.0, ActionCloseDoor(OBJECT_SELF)); }