I've been trying to find a way to change the name of an item, here is what i'm currently trying:
But this doesn't work because it doesn't understand "change name of player's tool to "%all arguments%"" :7
How would i do this?
code_language.skript:
Command /rename [<text>]:
Executable by: Players
Permission: skript.rename
Permission message: &cYou do not have permission to this command!
Description: Rename the item in your hand.
Usage: /rename <name>
Trigger:
if player's tool is not air:
if arg-1 is set:
change name of player's tool to "%all arguments%"
else:
message "&cYou didn't type a name for the item!"
else:
message "&cYou don't have any item in your hand!"
How would i do this?