Nick Skript doesnt work and has about 10 errors.

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

Guif

Member
Nov 11, 2017
3
0
0
20
code_language.skript:
command /nick
   trigger
   if player has permission: nick.use
      open chest with 3 rows named "&bChoose a Nickname" to player
      format slot 13 of player with paper named "&6Choose a Nickname" with lore "Change your Nickname" to close
   format slot 15 of player with paper named "&3Change your Skin" with lore "Be able to change your skin!" to close
   if arg-1 is set
      on chat:
      cancel event
   set arg-1 to {nick.fake.%player%}
   broadcast "arg-1"
   else
      "&4You do not have permission to execute this command!"
   
on inventory click:
    if inventory name of player's current inventory is "&bChoose a Nickname":
        cancel event
        if clicked slot is 13:
            if clicked type is left mouse button:
                send "&2Do /nick <nickname>"
            else if clicked type is right mouse button:
                send "&2Do /nick <nickname>"
        if clicked slot is 15:
            if clicked type is left mouse button:
                send "&2Do /nick <nickname>"
            else if clicked type is right mouse button:
                send "&2Do /nick <nickname>"
Have you tried searching the docs? Yes
Have you tried searching the forums? Yes
What other methods have you tried to fix it? I asked a friend but he couldn't help. Someone also said there was 10 errors.
 
You don't have a colon ' : ' on the end of your command and your trigger, also make sure the indentation is correct.
and you don't have a 1st argument so...
 
Status
Not open for further replies.