code_language.skript:
on pick up:
lore of event-item contains "%UUID of player%"
remove "%UUID of player%" from lore of event-item
This is Skript I wrote.
You can only pick up items that contain your UUID in Lore and delete your UUID from the Lore of the item you picked up.
But, an error is displayed on the third line.
code_language.skript:
the lore of event-item type can't have anything removed from it
As I wrote this question using Google Translate, English may be strange.