mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Sep 2003
Posts: 149
S
Stealth Offline OP
Vogon poet
OP Offline
Vogon poet
S
Joined: Sep 2003
Posts: 149
If a line has a color code in it, and is wrapped just before the beginning of a new color, the text on the next line is not processed correctly. Instead of appearing as the proper color, the color number is displayed where the new color is supposed to begin and the color is not changed.

For example:

How the line is supposed to appear:


How the line appears wrapped with the color change at the end of the line:


mIRC 6.21 - Win XP Pro (SP2) - 2.4 Ghz - 1 GB Mem
irc.x-tab.org
Joined: Sep 2003
Posts: 149
S
Stealth Offline OP
Vogon poet
OP Offline
Vogon poet
S
Joined: Sep 2003
Posts: 149
On further investigation, it appears the character after the color needs to be the last on the line, and the color code needs to be part of a solid string of text.

Such as:
text<color>.

Such as:
text.

Such as:
Code:
Text $+ $chr(3) $+ 9.



Last edited by Stealth; 03/01/07 07:55 PM.

mIRC 6.21 - Win XP Pro (SP2) - 2.4 Ghz - 1 GB Mem
irc.x-tab.org
Joined: Oct 2003
Posts: 313
S
Fjord artisan
Offline
Fjord artisan
S
Joined: Oct 2003
Posts: 313
Confirmed - and if you use $chr(3) $+ 09., you get 9. in colour 0. (I had wondered if it was a parsing issue with double characters)


Sais
Joined: Dec 2002
Posts: 5,457
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 5,457
Thanks this has been fixed for the next version.


Link Copied to Clipboard