options: server: &7[&cMi&rko&alaj]&r command /prezent [] []: trigger: if arg-1 is "help": send "&3/prezent help - Lista komend" to player send "&3/prezent give - Daje prezent" to player send "&3/prezent giveall [ilosc] - Daje wszystykim okreslona liczbe prezentow" to player stop if arg-1 is "give": give 1 of head named "&cS&fw&ci&fa&ct&fe&cc&fz&cn&fy &cP&fr&ce&fz&ce&fn&ct" with lore "&bPoloz aby otrzymac nagrode!" to player send "&aOtrzymales prezent!" to player stop if arg-1 is "giveall": loop all players: give arg-2 of head named "&cS&fw&ci&fa&ct&fe&cc&fz&cn&fy &cP&fr&ce&fz&ce&fn&ct" with lore "&bPoloz aby otrzymac nagrode!" to loop-player send "&aRozdales prezenty!" to player broadcast "{@server} &aWszyscy dostali po %arg-2% prezentow" on place of head: set block to air send "&6Otworzyles &cS&rw&ci&ra&ct&re&cc&rz&cn&ry &cP&rr&ce&rz&ce&rn&ct" to player chance of 100% send "&6+ test!" drop 1 cookie named "&5Ciasteczko" chance of 50% send "&6+ test2" drop 1 cake