Jump to content

<!>NEW TO SKRIPT<!> /chatcolor works well has most colors (NO PERMS)


S1LENT_EG

Recommended Posts

 

 

#-=-=-=-=-=-=-=-=-=-=

#   Skript Made By:
#     S1LENT_EG
#-=-=-=-=-=-=-=-=-=-=-

 

command /chatcolorset [<text>]:
    trigger:
        if arg-1 is "red":
            set {%player%.chatcolor} to "&4"
            send "&aCongrats &fyour chat color is now &4RED" to player
        if arg-1 is "light-red":
            set {%player%.chatcolor} to "&c"
            send "&aCongrats &fyour chat color is now &cLIGHT-RED" to player
        if arg-1 is "blue":
            set {%player%.chatcolor} to "&1"
            send "&aCongrats &fyour chat color is now &1BLUE" to player
        if arg-1 is "light-blue":
            set {%player%.chatcolor} to "&b"
            send "&aCongrats &fyour chat color is now &bLIGHT-BLUE" to player
        if arg-1 is "green":
            set {%player%.chatcolor} to "&2"
            send "&aCongrats &fyour chat color is now &2GREEN" to player
        if arg-1 is "light-green":
            set {%player%.chatcolor} to "&a"
            send "&aCongrats &fyour chat color is now &aLIGHT-GREEN" to player
        if arg-1 is "purple":
            set {%player%.chatcolor} to "&5"
            send "&aCongrats &fyour chat color is now &5PURPLE" to player
        if arg-1 is "light-purple":
            set {%player%.chatcolor} to "&d"
            send "&aCongrats &fyour chat color is now &dLIGHT-PURPLE" to player
        if arg-1 is "white":
            set {%player%.chatcolor} to "&f"
            send "&aCongrats &fyour chat color is now &fWHITE" to player

command /chatcolor:
    trigger:
        wait 1 tick
        open chest with 1 row named "&c&lCHAT&b&lCOLOR&e&l+" to player
        
        format slot 0 of player with red stained glass pane named "&4&lRED" to close then run [execute player command "/chatcolorset red"]
        format slot 1 of player with blue stained glass pane named "&1&lBLUE" to close then run [execute player command "/chatcolorset blue"]
        format slot 2 of player with green stained glass pane named "&2&lGREEN" to close then run [execute player command "/chatcolorset green"]
        format slot 3 of player with purple stained glass pane named "&5&lPURPLE" to close then run [execute player command "/chatcolorset purple"]
        format slot 5 of player with purple stained glass pane named "&d&lLIGHT-PURPLE" to close then run [execute player command "/chatcolorset light-purple"]
        format slot 6 of player with green stained glass pane named "&a&lLIGHT-GREEN" to close then run [execute player command "/chatcolorset light-green"]
        format slot 7 of player with light blue stained glass pane named "&b&lLIGHT-BLUE" to close then run [execute player command "/chatcolorset red"]
        format slot 8 of player with red stained glass pane named "&c&lLIGHT-RED" to close then run [execute player command "/chatcolorset light-red"]
        format slot 4 of player with barrier named "&8   <<&7DARK &fLIGHT&8>>" with lore "&4<!>CLICK TO RESET<!>" to close then run [execute player command "/chatcolorset white"]
            
on chat:
    if {%player%.chatcolor} is not set:
        set {%player%.chatcolor} to "&f"
    set the chat format to "%player's prefix% &f%player% &8>> %{%player%.chatcolor}%%message%"
    

Edited by S1LENT_EG
  • Thanks 1

🐝-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-🐝

>>S1LENT_EG<<

>>Joined Minehut (10/21/19)<<

>>Owner of (SharpMinez.minehut.gg)<<

>>(SKRIPTER)<<

🐝-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-🐝

Link to comment
Share on other sites

  • S1LENT_EG changed the title to <!>NEW TO SKRIPT<!> /chatcolor works well has most colors (NO PERMS)

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...