If your problem is multiple-spaces getting stripped when doing a custom /echo for "on text", see thos post.