#WSZYSTKIE WIADOMOŚCI PONIŻEJ MOŻESZ DOWOLNIE EDYTOWAĆ, TO CO PODAŁEM TO TYLKO PRZYKŁADY :D options: przedmiot: paper nazwa_legenda: "&eLegenda" nazwa_kolor: "&cKolor" legenda_msg: "&6&l[Nazwa serwera] &aUzyskałeś tytuł &eLEGENDA &ana okres 7 dni!" kolor_msg: "&6&l[Nazwa serwera] &aTeraz możesz użyc komendy &c/kolor&a. &4UWAGA: Możesz jej użyc tylko raz." error_msg: "&cBłędnie wpisałeś kolor, spróbuj ponownie! &aDostępne kolory: 0-9,e,a,d,f,c,b" sukces_msg: "&aOd teraz masz nowy kolor czatu!" error1_msg: "&cNie możesz użyć tej komendy!" kolor_wygasl: "&cTwój kolor wygasł!" zablokowane_kolory: "k" or "l" or "m" or "n" or "o" or "l" on rightclick: if player's tool is {@przedmiot}: if name of tool of player is {@nazwa_legenda}: remove 1 {@przedmiot} named {@nazwa_legenda} from player's inventory send {@legenda_msg} to player execute console command "lp user %player% parent addtemp legenda 7d" stop if name of tool of player is {@nazwa_kolor}: remove 1 {@przedmiot} named {@nazwa_kolor} from player's inventory send {@kolor_msg} to player set {free::%player%} to true stop command /kolor []: trigger: if {free::%player%} is true: if arg 1 is not set: send {@error_msg} to player stop if arg 1 is {@zablokowane_kolory}: send {@error_msg} to player stop if length of arg 1 is not 1: send {@error_msg} to player stop set {kolor::%player%} to "&%arg-1%" send {@sukces_msg} to player set {free::%player%} to false set {czas::%player%} to true wait 7 days set {czas::%player%} to false stop send {@error1_msg} to player on chat: {kolor::%player%} is set set message to "%coloured {kolor::%player%}%%coloured message%" every 5 minutes: loop all players: if {czas::%loop-player%} is false: if loop-player has permission "adis.obejscie": stop clear {kolor::%loop-player%} send {@kolor_wygasl} to loop-player set {czas::%loop-player%} to true stop command /dajprzedmiot []: permission: adis.skrypt trigger: if arg-1 is set: if arg-1 is "legenda": give {@przedmiot} named {@nazwa_legenda} to player stop if arg-1 is "kolor": give {@przedmiot} named {@nazwa_kolor} to player stop send "&aDostępne przedmioty: &clegenda&a, &ckolor&a." stop send "&cPoprawne użycie: &a/dajprzedmiot &c[przedmiot]"