coloring held item

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

SoMuchWessel

Active Member
Apr 3, 2017
147
3
18
47
Hi guys,
I came to the idea to make a command which will color the leather armor piece you are holding by RGB.


code_language.skript:
command /dye <integer> <integer> <integer>:
    trigger:
        if held item is a leather chestplate:
            dye player's tool (%arg-1%, %arg-2%, %arg-3%)

This code above is what i came up with, following http://en.njol.ch/projects/skript/doc/effects#EffColorArmor , but when i load the skript, it gives the error that it does not understand the dye condition.

Is there a way to fix this?
 
Status
Not open for further replies.