NICK$chr(160) won't work, but NICK $str($chr(160),5) will work just fine. The problem is with multiple spaces not with a single space.