Jump to content

colors no work me needs help


Pryzmm

Recommended Posts

Im making a skript to help ppl who dont know how to skript. I wanted to add changeable colors.

Spoiler

command /skhelpcolor:
    trigger:
        if {orange} is true:
            set {orange} to false
            set {gray} to true
            set {color1} to "<light gray>"
            set {color2} to "<dark gray>"
            send "%{color1}%Skript color has been set to %{color2}%Gray! (you may need to reload the skript)" to player
        else if {gray} is true:
            set {gray} to false
            set {purple} to true
            set {color1} to "<purple>"
            set {color2} to "<magenta>"
            send "%{color1}%Skript color has been set to %{color2}%Purple! (you may need to reload the skript)" to player
        else if {purple} is true:
            set {purple} to false
            set {green} to true
            set {color1} to "<green>"
            set {color2} to "<lime>"
            send "%{color1}%Skript color has been set to %{color2}%Green! (you may need to reload the skript)" to player
        else if {green} is true:
            set {green} to false
            set {red} to true
            set {color1} to "<red>"
            set {color2} to "<light red>"
            send "%{color1}%Skript color has been set to %{color2}%Red! (you may need to reload the skript)" to player
        else if {red} is true:
            set {red} to false
            set {orange} to true
            set {color1} to "<orange>"
            set {color2} to "<yellow>"
            send "%{color1}%Skript color has been set to %{color2}%Orange! (you may need to reload the skript)" to player

whenever i do a command like this one below:

Spoiler

command /test:
    trigger:
        send "%{color1}%Why Color %{color2}% no work" to player

i've noticed colors only work on broadcast "message" and not on send "message" to player

 

 

 

image.png.bc433d6489d70ad831075fe76809b993.png
 

Owner of Lifestealed, Labs, Encore, UNOfficially and Observed
 

OG [VIP] 12/26/20 - 10/27/2021
OG [PRO] 12/27/21 - 11/18/2022
OG [LEGEND] 11/18/2022 - 3/14/2023
[DEFAULT] 3/14/2023 - 5/8/2024

[MOD] 5/8/2024 - Present

 

Link to comment
Share on other sites

58 minutes ago, WithqutMe said:

Try using "&c", "&6", [...]

You can find the complete list here: click

Ive tried this already. Colors with variables only work for broadcasted events not send events and i wanna know how to solve this

 

 

image.png.bc433d6489d70ad831075fe76809b993.png
 

Owner of Lifestealed, Labs, Encore, UNOfficially and Observed
 

OG [VIP] 12/26/20 - 10/27/2021
OG [PRO] 12/27/21 - 11/18/2022
OG [LEGEND] 11/18/2022 - 3/14/2023
[DEFAULT] 3/14/2023 - 5/8/2024

[MOD] 5/8/2024 - Present

 

Link to comment
Share on other sites

change color of text on command

 

 

image.png.bc433d6489d70ad831075fe76809b993.png
 

Owner of Lifestealed, Labs, Encore, UNOfficially and Observed
 

OG [VIP] 12/26/20 - 10/27/2021
OG [PRO] 12/27/21 - 11/18/2022
OG [LEGEND] 11/18/2022 - 3/14/2023
[DEFAULT] 3/14/2023 - 5/8/2024

[MOD] 5/8/2024 - Present

 

Link to comment
Share on other sites

On 11/4/2020 at 12:16 PM, ztimhirsch1 said:

Use send colored "{color}hi"

Thanks 😄

 

 

image.png.bc433d6489d70ad831075fe76809b993.png
 

Owner of Lifestealed, Labs, Encore, UNOfficially and Observed
 

OG [VIP] 12/26/20 - 10/27/2021
OG [PRO] 12/27/21 - 11/18/2022
OG [LEGEND] 11/18/2022 - 3/14/2023
[DEFAULT] 3/14/2023 - 5/8/2024

[MOD] 5/8/2024 - Present

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...