Okay so I have been making custom lore enchantments, the last piece of this puzzle is to make a skript that allows the player to 'drag and drop' the custom enchantment book over certain items, and it should add a custom lore to the clicked item and remove 1 of the enchantment books from the player's inventory.
I use the latest version of Spigot 1.12
I use TuSke, Skript, skRayfall 1.9.7, Skellet, SharpSK, skQueryLime 1.11, SkStuff,Umbaska 3.3, and skUtilities 0.9.0
So I have made this code which outputs no errors at all but it doesn't seem to be working!
I posted this on the help forums a while ago but now I want to make it a request because I've lost hope in it...
Any help is a step towards completion, thanks in advance! <3
I use the latest version of Spigot 1.12
I use TuSke, Skript, skRayfall 1.9.7, Skellet, SharpSK, skQueryLime 1.11, SkStuff,Umbaska 3.3, and skUtilities 0.9.0
So I have made this code which outputs no errors at all but it doesn't seem to be working!
code_language.skript:
on inventory click:
cursor slot of player is enchanted book named "&fSmelt I":
event-slot is a wooden_pickaxe:
cancel the event
set cursor slot of player to air
set lore of event-item to "%lore of event-slot%||&fSmelt I"
send "&aSuccess!" to the player
I posted this on the help forums a while ago but now I want to make it a request because I've lost hope in it...
Any help is a step towards completion, thanks in advance! <3