mIRC Homepage
Posted By: Epic Underline colored - 08/10/20 11:12 AM
There is an idea to make the text underline colored. It would be great, for example, to underline words containing spelling mistakes in red, or just highlight what is worth paying attention to, but not color those words.

As with the color code, a color number is added to the key combination: "CTRL + K + 04"

In the same way, you can add the ability to add a color shade number out of 99 possible after the key combination: "CTRL + U + 04" so that get the colored underline of the text.

An example of how it might look:
[Linked Image from i.ibb.co]


Is there a way and the ability to officially implement this in the mIRC client?
Posted By: maroon Re: Underline colored - 08/10/20 04:44 PM
This would create an issue with backwards compatibility. Scripts which use $+($chr(31),123) show the '123' in the active color, but after such a change it would instead show just the '3' in blue.

A solution could be an additional control-code, or to decide this syntax isn't being used currently in any substantial way.
Posted By: Epic Re: Underline colored - 08/10/20 08:23 PM
Yes, you are right, there will be a conflict with the numbers before the code ...
Then it can only be a new code for the colored underline. And the key combination can be, for example, this: "CTRL + Y + 04".

And also the main thing is not to forget add delete of this code to identifier $strip() and if the line already contains the usual underscore code, then it must be ignored so that the colored underscore takes precedence.

Then the following sequence may appear in the script, where $chr(??) is the code number we do not know yet:
Code
testing $+($chr(3),15,$chr(??),04,colored underline,$chr(??),$chr(3)) text


How it might look like:
[Linked Image from i.ibb.co]
© mIRC Discussion Forums