mIRC now anticipates the presence of command switches for /msg. Command switches begin with a dash.

The work-around is simple, though. Use a blank command switch.

/msg - -FooBar Hello -Foobar, you have an invalid nickname!