i want to make a item level system but i wanna use varibles but how would i make a variable for a specific item like an id or smth like that.
Code:
command /admin <text>:
permission: op
trigger:
if arg-1 is "give":
give diamond sword named "&aLeveled Sword" with lore "" and "Lvl {itemlevel} ({xp}/{maxxp})"