If you're writing an external application that is placing text into a window's editbox, I'm guessing you're experiencing problems when the user has Multi-line editbox enabled... allowing the presence of CRLF characters in the editbox (rather than sending the text to its target).

The best way to write an external application that ties with mIRC, is either via DLL or COM Object which can communicate with mIRC via /DLL & $DLL or /COM & $COM calls in mIRC Script. If you're writing an external application that forces itself on mIRC, you'll want to use SendMessage call instead and instruct mIRC to /msg Nickname Message instead of sending direct to the editbox.

Type: /help SendMessage

- Raccoon


Well. At least I won lunch.
Good philosophy, see good in bad, I like!