That's because you cannot echo $chr(32) because it is basically treated as a $null value. See for yourself: //echo -a $chr(32) -> * /echo: insufficient parameters.
Let's also not forget that sometimes there are large amounts of people in a channel, so this script may come dangerously close to flooding heh.