Detect command messages