|
Joined: Jan 2003
Posts: 52
Babel fish
|
OP
Babel fish
Joined: Jan 2003
Posts: 52 |
I know this has to do with your parser, and I know it has been posted about many times before.
//echo -a $str($chr(32),100) blah Please make this work, otherwise $chr(160) or $chr(32) $+ BOLDBOLD has to be used, and neither is a very good solution, because 160 is not even a space, and the BOLDBOLD successfully lets multiple spaces be echoed but when echoing a lot of them it can lag an mIRC process greatly.
|
|
|
|
Joined: Dec 2002
Posts: 2,884
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 2,884 |
I doubt it could be added to echo'ing without the language being changed so that it could be used anywhere. If you only want to use it for echo'ing anyway does it really matter whether ASCII 160 is a 'true' space or not? If it does, perhaps you could try using space + ASCII 15 (Ctrl+O) instead. Seeing as that character is used for ending control code formatting it's possible that it puts a lower strain on mIRC. I haven't tested that idea though, so it could be completely wrong.
|
|
|
|
Joined: Jan 2003
Posts: 52
Babel fish
|
OP
Babel fish
Joined: Jan 2003
Posts: 52 |
its a great idea, but it ends any previous control codes, BOLDBOLD or COLORCOLOR or UNDERLINEUNDERLINE, will not close anything, just make a space, 160 doesn't work because NICK$chr(160) wont show a hand for the nicklist-popup in a channel echo... only NICK$chr(32) does..
|
|
|
|
Joined: Feb 2003
Posts: 15
Pikka bird
|
Pikka bird
Joined: Feb 2003
Posts: 15 |
NICK$chr(160) won't work, but NICK $str($chr(160),5) will work just fine. The problem is with multiple spaces not with a single space.
|
|
|
|
Joined: Dec 2002
Posts: 2,884
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 2,884 |
Good point.
If mIRC recognizing keywords in text is the only problem with the non-breaking space method, isn't it possible for you to just surround words with spaces and use non-breaking space everywhere else? Eg. $+($str($chr(160),10),$chr(32),NICK,$chr(32),$str($chr(160),10))
|
|
|
|
Joined: Feb 2003
Posts: 6
Nutrimatic drinks dispenser
|
Nutrimatic drinks dispenser
Joined: Feb 2003
Posts: 6 |
And there are many non US versions of Windows, in which code160 is not a non-breaking space, but a block, or a lead-byte (and hence ,drawn as a block) And it does get annoying at times when you see little squares between words when scripts are avoiding spaces.
|
|
|
|
Joined: Dec 2002
Posts: 2,884
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 2,884 |
True, but in lordares' case he only wanted it for echo'ing so it probably wouldn't bother other users.
Obviously that doesn't help someone who uses a non-english font and wants to echo stuff, but I doubt that mIRC will be able to handle consecutive spaces for quite some time yet (if ever), there's not really much that can be done about that - at least not by me.
|
|
|
|
|