$regsub($mid($rawmsg,$calc($pos($rawmsg,$chr(32),3) +2)),/\x20\x20/g,$chr(32) $+ $chr(160),%var)
\x20 is just a space, /2spaces/ should work too, you can replace the $chr(160) with the actual character, but you cannot replace the $chr(32) with a space...