Skip to content
TG007 archive file #1,385

Spaces.dll for mirc 7.*

Dll to help with spaces in mIRC

By Saturn Added Oct 28, 2010 Version 1.2
Download file
FILETG007 file
Advertisement
About this file

Overview

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.
More from this creator

Other files by Saturn

Community

Comments

No comments yet. Be the first to add useful information about this file.
Keep exploring

Related files

More in Script Support Files & DLLs →
Advertisement