mIRC Home    About    Download    Register    News    Help

Print Thread
Page 2 of 2 1 2
Joined: Oct 2003
Posts: 3,641
A
Hoopy frood
Offline
Hoopy frood
A
Joined: Oct 2003
Posts: 3,641
You cannot stick multiple spaces and put control codes after-- that defeats the purpose of putting the control codes. The problem is mIRC converts any instance of multiple spaces to a single space

$chr(32) $+ $chr(32) $+ $chr(32) $+ $chr(2)

is simply

$chr(32) $+ $chr(2)

K
KageNoOni
KageNoOni
K
Ok, tested it just now, I guess you're right. Still, I'd prefer to do $+($chr(32),$chr(2),$chr(2)) so that the bold codes affect nothing at all. That method is one I'm already using in another code, though for a different reason.

T
Trixar_za
Trixar_za
T
Actually, your right about spaces.dll, I use it in my Mudclient script to force support for multiple spaces in my custom windows smile

As for $chr(160), they're right, it's not a space characters and on some fonts (so far I've only seen this with Terminal), it shows up as a block. Personally, I haven't experienced it with any of the fonts I use, so I use it as a black characters with my scripts. Down to preference really.

Btw thanks for the undocumented identifiers, now I have something new to play with! laugh

Page 2 of 2 1 2

Link Copied to Clipboard