skript-parser icon indicating copy to clipboard operation
skript-parser copied to clipboard

🚀 Better console color system

Open ItsTheSky opened this issue 3 years ago • 3 comments

These small changes allow better customization & organization of console colors.

Example code:

on script load:
    print "<orange>This is in orange, <yellow>and this in yellow.<reset>"
    print "<cyan><b>This is bold cyan,<reset> and this is not bold neither colored!"
    print "<pink><u>This is underlined pink,<reset><color=purple_background> I'M BATMAN!"

Output:

image

Main Changes:

  • Each color has its own code only. The escaping symbol and delimiter are added after.
  • Each color can now have aliases, for example, orange_bright could also be used as yellow.
  • Color, style and background can now be superposed (wasn't possible before, it was clearing the color when applying a style)

ItsTheSky avatar Jun 28 '22 17:06 ItsTheSky

:wave: @ItsTheSky This PR is open since a while and i see no more activity about it, is it ready for reviewing ? do you need help ? this comment isn't and shouldn't be take as blaming at all

WeeskyBDW avatar Feb 12 '24 07:02 WeeskyBDW

Hi! Sorry for taking so long to reply too 😭 I don't currently plan to work on this PR anymore as it seems this repo is archived. However if it's still updated and have a future I'll be glad to go hop in again :D

ItsTheSky avatar Mar 09 '24 12:03 ItsTheSky

I think the tag system needs a major overhaul, which is one of the reasons this pull request stays open currently. The code itself is good and if there would be any changes I'd want to make, I'd probably make a quick commit myself.

If I ever get more time to work on this project, this should be handled rather quickly.

Mwexim avatar Mar 27 '24 10:03 Mwexim