command /case [] [] []: permission: case.admin trigger: if arg 1 is set: if arg 2 is set: if arg 3 is set: if arg 1 is "give": give arg 2 chest named "&6Premium&aCase" to arg 3 stop on place chest: if player's tool is chest named "&6Premium&aCase": set block to air wait 1 second broadcast "&2Gracz &b%player% &2otworzyl &6Premium&aCase" chance of 1%: give 1 322:1 to player broadcast "&2Gracz &b%player% wydropil &6KOXA &2z &6Premium&aCase" stop chance of 20% give 32 coal to player broadcast "&2Gracz &b%player% &2wydropil &0 32 Wegla &2z &6Premium&aCase" stop