mIRC Home    About    Download    Register    News    Help

Print Thread
#267844 08/10/20 11:12 AM
Joined: Jan 2012
Posts: 299
Epic Offline OP
Fjord artisan
OP Offline
Fjord artisan
Joined: Jan 2012
Posts: 299
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?


🌐 http://forum.epicnet.ru 📜 irc.epicnet.ru 6667 #Code | mIRC scripts, help, discuss, examples
Epic #267846 08/10/20 04:44 PM
Joined: Jan 2004
Posts: 2,127
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2004
Posts: 2,127
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.

Joined: Jan 2012
Posts: 299
Epic Offline OP
Fjord artisan
OP Offline
Fjord artisan
Joined: Jan 2012
Posts: 299
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]


🌐 http://forum.epicnet.ru 📜 irc.epicnet.ru 6667 #Code | mIRC scripts, help, discuss, examples

Link Copied to Clipboard