Jump to content
Nd_

Error Help

Recommended Posts

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!

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

Add a space between /d and command

Remove the weird letters

Also, please post your own thread instead of replying to mine.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×
×
  • Create New...