Yes you can, $identifiers such as $replace,$remove,$regex,$len do support consecutive spaces, since the parameters are separated by commas. Ofcourse,
/echo -s $replace(<aaaaa>,a,$chr(32))
will just display < > because the /echo command collapses the spaces of the result of $replace.
//echo -s $len($replace(<aaaaa>,a,$chr(32))) will correctly display 7, but you cannot use /var or /set to assign it to a %variable, any /command will have spaces collapsed before it executes...

Quote:
I think khaled should make mIRC allow consecutive spaces in strings

This is nearly impossible to do from the current code I think, This would most likely require a complete rewrite of the scripting engine and also the language semantics. I doubt Khaled feels like working 3 years on a complete new scripting language that does support multiple spaces and retains the great features of the current.

To show you just some problems:
if ( hi * iswm $1) echo -a $2-3
Is the space before hi and after the * part of the search string or not? What if there were 2 spaces between the * and iswm? What if $& was used to continue on the next line, that would give 6 extra spaces in an alias definition inside a loop. Does $1 (the first word) include spaces? If 2 consecutive spaces after hi, is $2 empty then? or is $2 2 spaces and the next word?