command /nagroda []: permission: player.nagroda permission message: brak uprawnien trigger: if arg 1 is not set: open chest with 3 rows named "nagroda" to player set player's current inventory's slot 13 to chest named "&9&lPREMIUMCASE" with lore "kliknij aby odebrać" if arg 1 is "odbieranie" if difference between {cooldown::%player%} and now is less than 24 hours: send "&cOdebrales nagrode przez najblizsze 24 godziny!" stop else: stop open chest with 3 rows named "odbieranie" to player set player's current inventory's slot 1 to chest named "&9&lPREMIUMCASE" set {cooldown::%player%} to now on inventory click: if inventory name of current inventory of player is "nagroda": if clicked slot is 13: stop execute player command "nagroda odbieranie"