Nd_ Posted July 16, 2019 Share Posted July 16, 2019 So I have a skript which gives people Kits(below) command /kit <text>: description: Get a Kit permission: getkit executable by: players trigger: world is "ul_KitPVP": if arg 1 is "default": give player 1 wooden sword equip player with all leather armor message "&4You have equipped the Default kit" else if arg 1 is "Cop": player has permission "kit.cop" equip player with all leather armor dye player's helmet blue dye player's chestplate blue dye player's leggings blue dye player's boots blue else: message "&4You don't have the &1Cop&4 Kit" else: message "&4The Kit %argument% isn't a kit" else: message "&4You are not in the KitPVP world" and it gives me an error that says that else/else if has to be placed after a if/else if? I don't get it, as I have the if's and else if's in the correct spots(i think) Thanks! Link to comment Share on other sites More sharing options...
Niiveouss Posted July 16, 2019 Share Posted July 16, 2019 how do u add a dupicate skript this is what i used but it didnt work please help. command/d: Trigger: set {_item} to player’s tool give {_item} to player stop Link to comment Share on other sites More sharing options...
Nd_ Posted July 16, 2019 Author Share Posted July 16, 2019 Add a space between /d and command Remove the weird letters Also, please post your own thread instead of replying to mine. Link to comment Share on other sites More sharing options...
xlr100 Posted July 16, 2019 Share Posted July 16, 2019 (edited) You didnt ident correctly and you got an else after another else Edited July 16, 2019 by OMan100 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now