im trying to make so when player has the same lore (haste I) and the output will be haste II
on anvil prepare:
if slot 0 of event-inventory is a netherite shovel:
if lore of slot 0 of event-inventory contains "&eTreasure Hunter I":
if slot 1 of event-inventory is an netherite shovel:
if lore of slot 1 of event-inventory contains "&eTreasure Hunter I":
event-item is set
set lore of event-item to "&eTreasure Hunter II"