help with create kit in side the game

  • 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.
Feb 24, 2017
191
7
0
23
foroendertheth.foroactivo.com
code_language.skript:
function leather(p: player):
    clear {_p}
    set helmet of {_p} to leather helmet
    set chestplate of {_p} to leather chestplate
    set leggings of {_p} to leather leggings
    set boots of {_p} to leather boots
    dye {_p}'s helmet red
    dye {_p}'s leggings lime
    dye {_p}'s chestplate lime
    dye {_p}'s boots red
command /kit [<text>]:
    trigger:
        if arg 1 is "lether":
            leather(player)
        if arg 1 is "create":
            #now how do I make that all items in the player's inventory
            #create a function like leather and a new
            #if arg 1 is "kit that the player crate in game"
            #execute the function that creates in game with the name of the kit
            #name of kit(player)
        else:
            send "kit lether"
            player has permission "kitpvp.admin"
            send "kit create"
 
Well you've moved it to another location so their you will get your answer.
[doublepost=1523675544,1523675502][/doublepost]Hey im just trying to help out. You don't have to be so rude about it.
 
Hmm. Im trying to get the posts that aren't marked SOLVED to be marked SOLVED so people can browse through the fresh ones.
 
And why do you start arguing with me? You're a lot more mature than me so just carry on, ill stop if you'd like me to.
 
Status
Not open for further replies.