code_language.skript:
function leather(p: player):
clear {_p}
set helmet of {_p} to leather helmet
set chestplate of {_p} to leather chestplate
set leggings of {_p} to leather leggings
set boots of {_p} to leather boots
dye {_p}'s helmet red
dye {_p}'s leggings lime
dye {_p}'s chestplate lime
dye {_p}'s boots red
command /kit [<text>]:
trigger:
if arg 1 is "lether":
leather(player)
if arg 1 is "create":
#now how do I make that all items in the player's inventory
#create a function like leather and a new
#if arg 1 is "kit that the player crate in game"
#execute the function that creates in game with the name of the kit
#name of kit(player)
else:
send "kit lether"
player has permission "kitpvp.admin"
send "kit create"