Code:
Command /signitem [<text>]:
permission: signitem.use
permission message: &cYou do not have permission to this command!
Trigger:
if player's tool is not air:
if arg-1 is set:
set name of player's tool to colored arg-1
else:
message "&cYou didn't type a name for the item!"
else:
message "&cYou don't have any item in your hand!"
I have browsed the internet and forums and couldn't find exactly what I was trying to do.
I am trying to pull the current item in hand name and then add text after it with color being an option. Basically allowing a player to sign someone's item without touching the item name or format. I did try using a colored arg 2 but could never get it to work.