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
I have got a few errors with my skript (with help from @ShaneBee) and I have no idea how to fix them. Any suggestions?