variables: {color::write::%player%} = "" command /kolor: permission: kolorowe.pisanie permission message: &cBrak uprawnien! trigger: if sender is player: wait 2 ticks open chest with 4 rows named "&8&lWybierz kolor pisania" to player wait 1 tick format slot 0 of player with white wool named "&fBialy" with lore "&5&lUstaw kolor pisania na: &fBialy" to close then run [set {color::write::%player%} to "&f"] format slot 1 of player with blue wool named "&1Niebieski" with lore "&5&lUstaw kolor pisania na: &1Niebieski" to close then run [set {color::write::%player%} to "&1"] format slot 2 of player with green wool named "&2Ciemno-zielony" with lore "&5&lUstaw kolor pisania na: &2Jasno-zielony" to close then run [set {color::write::%player%} to "&2"] format slot 3 of player with cyan wool named "&3Morski" with lore "&5&lUstaw kolor pisania na: &3Morski" to close then run [set {color::write::%player%} to "&3"] format slot 4 of player with red wool named "&4Czerwony" with lore "&5&lUstaw kolor pisania na: &4Czerwony" to close then run [set {color::write::%player%} to "&4"] format slot 5 of player with purple wool named "&5Fioletowy" with lore "&5&lUstaw kolor pisania na: &5Fioletowy" to close then run [set {color::write::%player%} to "&5"] format slot 6 of player with orange wool named "&6Zloty" with lore "&5&lUstaw kolor pisania na: &6Zloty" to close then run [set {color::write::%player%} to "&6"] format slot 7 of player with light gray wool named "&7Jasno-szary" with lore "&5&lUstaw kolor pisania na: &7Jasno-szary" to close then run [set {color::write::%player%} to "&7"] format slot 8 of player with gray wool named "&8Szary" with lore "&5&lUstaw kolor pisania na: &8Szary" to close then run [set {color::write::%player%} to "&8"] format slot 9 of player with white wool named "&9Indigo" with lore "&5&lUstaw kolor pisania na: &9Indigo" to close then run [set {color::write::%player%} to "&9"] format slot 10 of player with lime wool named "&aJasno-zielony" with lore "&5&lUstaw kolor pisania na: &aJasno-zielony" to close then run [set {color::write::%player%} to "&a"] format slot 11 of player with light blue wool named "&bNiebieski" with lore "&5&lUstaw kolor pisania na: &bNiebieski" to close then run [set {color::write::%player%} to "&b"] format slot 12 of player with yellow wool named "&eZolty" with lore "&5&lUstaw kolor pisania na: &eZolty" to close then run [set {color::write::%player%} to "&e"] format slot 13 of player with red wool named "&cJasno-Czerwony" with lore "&5&lUstaw kolor pisania na: &cJasno-Czerwony" to close then run [set {color::write::%player%} to "&e"] format slot 14 of player with pink wool named "&dRozowy" with lore "&5&lUstaw kolor pisania na: &dRozowy" to close then run [set {color::write::%player%} to "&d"] format slot 27 of player with bedrock named "&fZresetuj kolor" with lore "&5&lPrzywroc kolor pisania z rangi||&5&lBierzacy kolor to:||%{color::write::%player%}%KOLOR" to close then run [set {color::write::%player%} to ""] format slot 35 of player with barrier named "&fZamknij" to close stop else: send "&7Ta komende wykonuje sie tylko w grze!" stop on chat: if player has permission "kolorowe.pisanie": set message to "%{color::write::%player%}%%message%" stop