command /dajcase [] []: permission: dajcase.sk trigger: if arg 1 isn't set: send "&7>> &6Poprawne uzycie: /dajcase " if arg 1 is "all": loop all players: give chest named "&7[ &5&lMISTYCZNA SKRZYNIA &7]" to loop-player send "&7>> &6Rozdales serverowi &5&lMISTYCZNA SKRZYNIE" broadca if arg 1 is "daj": if arg 2 is set: give chest named "&7[ &5&lMISTYCZNA SKRZYNIA &7]" to arg 2 send "&7>> &6Dales &5&lMISTYCZNA SKRZYNIE &6%arg 1%" send "&7>> &6Dostales &5&lMISTYCZNA SKRZYNIE" to arg 1 stop command /dajklucz [] []: permission: dajckluczsk trigger: if arg 1 isn't set: send "&7>> &6Poprawne uzycie: /dajklucz " if arg 1 is "all": loop all players: give stick named "&7[ &5&lMISTYCZNY KLUCZ &7]" to loop-player send "&7>> &6Rozdales serverowi &5&lMISTYCZNY KLUCZ" broadca if arg 1 is "daj": if arg 2 is set: give stick named "&7[ &5&lMISTYCZNY KLUCZ &7]" to arg 2 send "&7>> &6Dales &5&lMISTYCZNY KLUCZ &7]&6%arg 1%" send "&7>> &6Dostales &5&lMISTYCZNY KLUCZ" to arg 1 stop on place chest: if name of player's tool is "&7[ &5&lMISTYCZNA SKRZYNIA &7]": if player has stick named "&7[ &5&lMISTYCZNY KLUCZ &7]" set event-block to air chance of 3%: give diamond to player else: send "&7>> &6Posiadasz &7[ &5&lMISTYCZNA SKRZYNIE &7]&6, ale nie posiadasz &7[ &5&lMISTYCZNEGO KLUCZA"