I ran into this problem I can't seem to figure out in my skript. Basically I'm trying to remove text from the lore of a player's tool, it works if I use text but if I use a variable it doesn't work anymore. Any help would be appreciated.
Code:
set {_lore} to line 2 of lore of clicked item
set {_tool} to player's tool
remove {_lore} from lore of {_tool}
set player's tool to {_tool}