mIRC Homepage
Posted By: Stealth Color codes at the end of a wrapped line - 03/01/07 07:45 PM
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:
Posted By: Stealth Re: Color codes at the end of a wrapped line - 03/01/07 07:52 PM
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.


Posted By: Sais Re: Color codes at the end of a wrapped line - 03/01/07 09:27 PM
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)
Posted By: Khaled Re: Color codes at the end of a wrapped line - 22/01/07 03:07 PM
Thanks this has been fixed for the next version.
© mIRC Discussion Forums