Skript 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 community!

    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.
Jun 15, 2018
14
0
0
code_language.skript:
command /commands:
    trigger:
        open chest with 1 row named "&cCommands" to player
        wait 1 tick
        format slot 1 of player with light blue stained glass named "Claim the plot you're standing on!"  to run [execute player command “/claimplot"]
        format slot 2 of player with light blue stained glass named “Trust Player!“ to run [execute player command “/inviti”]

command /claimplot:
    trigger:
        execute player command "/plot claim"
  
command /inviti:
    trigger:
        open an anvil gui named "Name" to player with default text "USERNAME TO TRUST”
 
on close anvil gui named "Name":
    set {INPUT1} to event-text
    wait one tick
    execute player command “/plot trust “%{INPUT1}%””

Errors: https://drive.google.com/file/d/1U2qV_IUImJWcKhWaVkuMgpb8IAxhjlQQ/view?usp=sharing
view


I have got a few errors with my skript (with help from @ShaneBee) and I have no idea how to fix them. Any suggestions?
 
Try this:
code_language.skript:
command /commands:
    trigger:
        open chest with 1 row named "&cCommands" to player
        wait 1 tick
        format slot 1 of player with light blue stained glass named "Claim the plot you're standing on!"  to run [execute player command "/claimplot"]
        format slot 2 of player with light blue stained glass named "Trust Player!" to run [execute player command "/inviti"]
 
command /claimplot:
    trigger:
        execute player command "/plot claim"
 
command /inviti:
    trigger:
        open an anvil gui named "Name" to player with default text "USERNAME TO TRUST"
 
on close anvil gui named "Name":
    set {INPUT1} to event-text
    wait 1 tick
    execute player command "/plot trust "%{INPUT1}%"""
A lot of the errors were because you used different quotes (“), but you have to use "
 
Status
Not open for further replies.