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!

  2. LOOKING FOR A VERSION OF SKRIPT?

    You can always check out our Wiki for downloads and any other information about Skript!

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

Equip armour to all players

Discussion in 'Skript' started by ConLudi, Jan 23, 2020.

Thread Status:
Not open for further replies.
  1. ConLudi

    ConLudi Member

    Joined:
    Jan 23, 2020
    Messages:
    43
    Likes Received:
    0
    How do you equip armour to all players?
     
  2. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    229
    loop all players and use the Equip effect
     
  3. ConLudi

    ConLudi Member

    Joined:
    Jan 23, 2020
    Messages:
    43
    Likes Received:
    0
    Can you give an example?
     
  4. Conutik

    Conutik Member

    Joined:
    Jan 12, 2020
    Messages:
    19
    Likes Received:
    1
    Code (Text):
    1. command test:
    2.   trigger:
    3.     loop all players:
    4.       equip loop-player with all diamond armour
     
  5. ConLudi

    ConLudi Member

    Joined:
    Jan 23, 2020
    Messages:
    43
    Likes Received:
    0
    Is there a way to use it that Skript with permissions?
     
  6. PanHack

    PanHack Active Member

    Joined:
    Dec 18, 2019
    Messages:
    143
    Likes Received:
    8
    yes there is
    --- Double Post Merged, Jan 26, 2020, Original Post Date: Jan 26, 2020 ---
    Code (Text):
    1. command /test <text>:
    2.     usage: &eChoose armour out gold, iron, diamond or leather
    3.     permission: test.test
    4.     trigger:
    5.         if arg 1 is not set:
    6.             send "&eWhat type of armour you want everyone to equip" to player
    7.             send "&eChoose out gold, iron, diamond, leather" to player
    8.         else:
    9.             if arg 1 is set:
    10.                 loop all players:
    11.                     equip loop-player with all iron armor
    12.                     send "&3You equiped everyone %arg 1% &3armour!" to player
    13.        
    Line 11 needs work :d
     
Thread Status:
Not open for further replies.

Share This Page

Loading...