If the only parameter is a number, mIRC should be smart enough to understand it was not meant to be a color number but a plain text. I think merely displaying the number would be better than displaying an error.
What I meant is, since it currently seems to consider this an wrong usage (nothing is echoed), then normally it should display an error message. But I agree this shouldn't be considered wrong and it rather should echo the number.