Skript Version: 2.4
Minecraft Version: 1.12
To check all lore of item
tried this but it doesn't work, i can add smelt as long it isn't on the 1st line of lore
Minecraft Version: 1.12
To check all lore of item
tried this but it doesn't work, i can add smelt as long it isn't on the 1st line of lore
Code:
if event-item's lore doesn't contain "&eSmelt":
set {_a} to event-item
cancel event
set lore of {_a} to "%lore of {_a}%" and "&eSmelt"
wait 2 ticks
set cursor slot of player to air
set event-slot to {_a}
else:
cancel event
send "&7You already have that enchantment!"