Don't work any errors. Spigot 1.12
code_language.skript:
command /zs:
permission: hap
trigger:
if player has emerald named "c" in his inventory:
if player is holding any sword:
remove emerald named "c" from player's inventory
enchant the player's tool with sharpness 25
send "&e&lHAP> &fOprava bola &a&luspesna&f! Zaplatil si &e&l5000 &feur!"
else:
send "&e&lHAP> &c&lChyba! &fV ruke &c&lnedrzis ziadny &fnastroj!"
else:
send "&e&lHAP> &c&lChyba! &fNemas &a&lgem&f!"