Solved Removing variable from lore

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the community!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

Kush

Member
Jan 29, 2017
29
2
3
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}
 
Status
Not open for further replies.