No commands can handle multiple spaces, it's just how mIRC works.
You can use $chr(160) instead of a space (in most, but not all fonts), or you can split it up with control codes as so:
/echo H e l l o You could modify the alias qwerty posted
here to do it for you.