action: check for the random variable command if max>min