I'd like to have Staff Chat toggle functions on my server but I'm not a fluent skripter so I can't skript one and I've searched many articles.
LINK: https://www.spigotmc.org/resources/staff-chat.17706/
So I have this Skript, but I need to make it so that the player can execute the command, and the item in the hotbar.0 slot will be moved to the armor.head slot.
Current Skript:
command /hat:
trigger:
set helmet of player to hotbar.0