mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Mar 2007
Posts: 40
S
silimon Offline OP
Ameglian cow
OP Offline
Ameglian cow
S
Joined: Mar 2007
Posts: 40
Hello, I'm a novice and just having a small issue with some macros. I need to be able to use sequencial spaces in /msg or /say without mIRC consolidating them into one space.

i.e.

/msg # blah (imagine several spaces) blah

which will output as;

blah blah

I want all the spacing to stay. Any ideas?

Joined: Mar 2005
Posts: 420
X
Fjord artisan
Offline
Fjord artisan
X
Joined: Mar 2005
Posts: 420


If you have a plastic floor runner over your tiles, then you're one Hella Pinoy!
Joined: Jan 2007
Posts: 1,156
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Jan 2007
Posts: 1,156
does $chr(160) not work? $str($chr(160),5)

Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
depends on the font being used. In most fonts, $chr(160) looks like a space character, but not all.
This is part of the reason spaces.dll was created.

Joined: Feb 2005
Posts: 342
R
Fjord artisan
Offline
Fjord artisan
R
Joined: Feb 2005
Posts: 342
Aside from what RusselB mentioned, $chr(160) is not a space. It just looks like one. Personally I don't believe it is a viable way of inserting spaces into your own text, nor a good way to put spaces into incoming text (especially if you wish to use tools like "grep" to search the text).

The DLL mentioned above is an excellent tool, which I've been using for quite some time.


Link Copied to Clipboard