How do you execute a command on 'armor equip'?

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

Whirus Prime

Member
May 20, 2021
1
0
1
24
Hello, I'm new to Skript. I'm looking for a skript how-to or something someone can just mention how to make it so you can make weighted armor. Also, I want to be able to make it so that when "on-wear" an item, it'll execute a command, like this:

on armor equip:
event-item is charcoal
display name of event-item is "&e&lCrown of Choice"
trigger:
execute console command "lp user %player% permission set relics.choice"
execute console command "tell %player% &aDo &l/effectcc &ato get started!"
 
Last edited:
Code:
on armor equip:
  event-item is charcoal
  name of event-item is "&e&lCrown of Choice"
  console command "lp user %player% permission set relics.choice"
  console command "tell %player% &aDo &l/effectcc &ato get started!"
You dont add a "trigger" for anything that isn't a command.