command /kowal []: trigger: if player's tool is enchanted with sharpness: chance of 50%: set {_sh} to enchantment level of sharpness of player's tool add 5 to {_sh} set {_sh} to "sharpness %{_sh}%" parsed as enchantment type send "%{_sh}%" enchant the player's tool with {_sh} send "&3Kowal &8» &7Ulepszono twoje narzedzie." stop else: send "&3Kowal &8» &cOjjj, &7niestety twoje narzedzie sie spalilo &cSorka :(" remove player's tool from player's inventory stop else: send "&3Kowal &8» &7Tego to ja nie ulepsze." stop