1. 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!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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

Discussion in 'Requests' started by Whirus Prime, May 20, 2021.

  1. Whirus Prime

    Whirus Prime Member

    May 20, 2021
    Likes Received:
    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"
    execute console command "lp user %player% permission set relics.choice"
    execute console command "tell %player% &aDo &l/effectcc &ato get started!"
    #1 Whirus Prime, May 20, 2021
    Last edited: May 20, 2021
  2. Dogloverblue17

    Sep 2, 2020
    Likes Received:
    Code (Text):
    1. on armor equip:
    2.   event-item is charcoal
    3.   name of event-item is "&e&lCrown of Choice"
    4.   console command "lp user %player% permission set relics.choice"
    5.   console command "tell %player% &aDo &l/effectcc &ato get started!"
    You dont add a "trigger" for anything that isn't a command.

Share This Page