Console command detection.