You're altering the text output. It's just mIRC's temper with consecutive spacing, that's all.You may try $rawtext, but even then I think you're not going to have the desired output. I'm not exactly positive though, i don't go in to too much depth of 'theming' mIRC.