Equip armour to all players

  • 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!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.
Code:
command test:
  trigger:
    loop all players:
      equip loop-player with all diamond armour
 
Is there a way to use it that Skript with permissions?
yes there is
[doublepost=1580029449,1580028239][/doublepost]
Code:
command /test <text>:
    usage: &eChoose armour out gold, iron, diamond or leather
    permission: test.test
    trigger:
        if arg 1 is not set:
            send "&eWhat type of armour you want everyone to equip" to player
            send "&eChoose out gold, iron, diamond, leather" to player
        else:
            if arg 1 is set:
                loop all players:
                    equip loop-player with all iron armor
                    send "&3You equiped everyone %arg 1% &3armour!" to player
Line 11 needs work :d
 
Status
Not open for further replies.