Download File
It's a known fact that the way mIRC handles spaces in scripts is not exactly perfect; double consecutive spaces get lost when calling commands and tokenizing text strings. This has its good sides, but definitely also its bad sides: in order to echo a string with multiple consecutive spaces, one has to use chr(160) as fake space (which is not in all fonts), or use for example pairs of bold characters - did you know that if you put bold characters between the spaces, mIRC has to print the spaces to the screen one by one? I won't even get into the amount of ugliness you have to use in order to send commands to the server without loss of spaces, or get the unmodified text from an editbox in "on INPUT" events.
This DLL offers a somewhat neater solution to these problems. It allows you to echo text to the screen, send commands to the IRC server and DCC Chat windows, and get the original text in "on INPUT" events - all while preserving double consecutive spaces. It could be used by people who want to give mIRC their own look (think theme scripts!) or simply align text properly. Along with mIRC's own $rawmsg identifier and regex support, this DLL should allow you to do pretty much everything related to text input and output with a script, without the disadvantage of losing spaces just because you're using a script.
Other files by Saturn (1)
You must be logged in to comment.