EnchantedKit simple maddcommand

#1
Note ; YOU CAN edit the item numbers to your own

/cmd create enchantkit
/cmd add enchantkit %target% = lowercase(%p%)
/cmd add enchantkit let %inventory%[%target%] = playerinventory(%target%) + playerarmor(%target%)
/cmd add enchantkit save %inventory%
/cmd add enchantkit carry %target% 0
/cmd add enchantkit wear %target% 0


/cmd add enchantkit hold %target% 257
/cmd add enchantkit asop /enchant %target% 15 2
/cmd add enchantkit asop /enchant %target% 17 2
/cmd add enchantkit hold %target% 258
/cmd add enchantkit asop /enchant %target% 15 2
/cmd add enchantkit asop /enchant %target% 17 2
/cmd add enchantkit hold %target% 302
/cmd add enchantkit asop /enchant %target% 0 1
/cmd add enchantkit hold %target% 303
/cmd add enchantkit asop /enchant %target% 0 1
/cmd add enchantkit hold %target% 304
/cmd add enchantkit asop /enchant %target% 0 1
/cmd add enchantkit hold %target% 305
/cmd add enchantkit asop /enchant %target% 0 1
/cmd add enchantkit let %inv%[%target%] = playerinventory(%target%)
/cmd add enchantkit save %inv%


/cmd add enchantkit load %inventory%
/cmd add enchantkit load %inv%
/cmd add enchantkit %newinv% = %inventory%[%target%] + %inv%[%target%]
/cmd add enchantkit carry %target% %newinv%




Let me know if something Is wrong
Thx