Skript icon indicating copy to clipboard operation
Skript copied to clipboard

Colored Issue With latest (2.9.1) version

Open JustDavide opened this issue 1 year ago • 5 comments

Skript/Server Version

09:15:53 [INFO] [Skript] Skript's aliases can be found here: https://github.com/SkriptLang/skript-aliases
09:15:53 [INFO] [Skript] Skript's documentation can be found here: https://docs.skriptlang.org/
09:15:53 [INFO] [Skript] Skript's tutorials can be found here: https://docs.skriptlang.org/tutorials
09:15:53 [INFO] [Skript] Server Version: git-Paper-497 (MC: 1.20.4)
09:15:53 [INFO] [Skript] Skript Version: 2.9.1 (skriptlang-github)
09:15:53 [INFO] [Skript] Installed Skript Addons: 
09:15:53 [INFO] [Skript]  - skript-gui v1.3 (https://github.com/APickledWalrus/skript-gui)
09:15:53 [INFO] [Skript]  - skript-reflect v2.5.1 (https://github.com/SkriptLang/skript-reflect)
09:15:53 [INFO] [Skript]  - SkBee v3.5.8 (https://github.com/ShaneBeee/SkBee)
09:15:53 [INFO] [Skript] Installed dependencies: 
09:15:53 [INFO] [Skript]  - Vault v1.7.3-b131
09:15:53 [INFO] [Skript]  - WorldGuard v7.0.9+5934e49

Bug Description

When trying to make a skript that created colored tags I encountered this weird bug (discussed with other members of skUnity)

I tried to make

`on load: if {tags::*} is not set: set {tags::test1} to "&aTest1" set {tags::test2} to "&dTest2"

command /gettag : trigger: send formatted {tags::%arg%} to player

command /createtag : usage: &cUse: &7/createtag <tagName> <tagFormat> trigger: set {tags::%arg-1%} to arg-2`

this skript. If I tried to do /gettag test1 everything works fine and I get a colored text.

if I do /createtag test3 &ctest3 and then /gettag test3 I get an uncolored text

(I tried replacing formatted with colored)

Screenshot 2024-08-29 150135

Expected Behavior

I should get the new tag colored instead of the uncolored one. (Mind that the tags set under "on load:" do work and get colored)

Steps to Reproduce

I just created that code, nothing more, nothing less.

Errors or Screenshots

Screenshot 2024-08-29 150840 Screenshot 2024-08-29 150135

Other

Downgrading to the previous version (2.9.0) solves the issue

Agreement

  • [x] I have read the guidelines above and affirm I am following them with this report.

JustDavide avatar Aug 29 '24 13:08 JustDavide