variables: {sp::jest} = false options: ilosc: 1 #ilosc przedmiotu ktory gracz ma otrzymac item: diamond #Id albo angielska nazwa przedmiotu ktory ma otrzymywac gracz! tag: [SzybkiePalce] command /szybkiepalce [] []: aliases: sp trigger: if player has permissions "sp.*": if argument 1 is "start": if argument 2 is set: set {sp::text} to "%arg 2%" send "&c----&6SZYBKIE PALCE&c----" to all players send "&aZa 5 sekund pojawi sie tekst do przepisania. &6Kto pierwszy ten lepszy!" to all players send "&c----&6SZYBKIE PALCE&c----" to all players wait 1 real seconds send "&2{@tag} &34" to all players wait 1 real seconds send "&2{@tag} &33" to all players wait 1 real seconds send "&2{@tag} &32" to all players wait 1 real seconds send "&2{@tag} &31" to all players wait 1 real seconds send "&2{@tag} &a%{sp::text}%" to all players set {sp::jest} to true else: send "&cMusisz wprowadzic tekst!" if argument 1 is not "start": send "&cUzycie: &a/szybkiepalce start " if argument 1 is not set: send "&a/szybkiepalce start &c- &aStartuje Szybkie palce." else: send "&cNie posiadasz do tego uprawnien!" on chat: message contains "%{sp::text}%": if {sp::jest} is true: cancel event send "&c----&6SZYBKIE PALCE&c----" send "&aKonkurs wygral &6%player%&a i otrzymal &6{@ilosc} {@item}&a!" to all players send "&c----&6SZYBKIE PALCE&c----" give {@ilosc} {@item} to player set {sp::jest} to false else: stop else: stop