Logical processor

Does anyone know of a command that makes units go and automatically attack enemies?