mIRC Home    About    Download    Register    News    Help

Print Thread
Page 2 of 2 1 2
Joined: Oct 2003
Posts: 3,918
A
Hoopy frood
Offline
Hoopy frood
A
Joined: Oct 2003
Posts: 3,918
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)


- argv[0] on EFnet #mIRC
- "Life is a pointer to an integer without a cast"
Joined: Mar 2009
Posts: 74
K
Babel fish
OP Offline
Babel fish
K
Joined: Mar 2009
Posts: 74
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.

Joined: Feb 2007
Posts: 75
T
Babel fish
Offline
Babel fish
T
Joined: Feb 2007
Posts: 75
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


GigIRC Network Admin
irc.gigirc.com
Page 2 of 2 1 2

Link Copied to Clipboard