video i used for tutorial:
command /relore [<text>]:
permission: skript.relore
permission message: You do not have the permission to use this command!
trigger:
if arg 1 is not set:
send "§4usage: /relore <text>"
else:
if player's is air:
send "§4You need to hold an item to relore!"
else:
set lore of player's tool to colored arg 1
send "§6Your item has been set to: %colored arg-1%"
command /enchant [<enchantment type>]
permission: skript.enchant
permission message: You do not have the permission to use this command!
trigger:
if arg 1 is not set:
send "§4usage: /enchant <enchantment>"
else:
if player's tool is air:
send "§4You need to hold an item to enchant!"
else:
enchant player's tool with arg 1
sebd "§2Your item has been enchanted!"