Solved Invalid use of quotes...

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

samil13

Member
Aug 19, 2021
1
0
1
Hi! i wanted to make a skript when you right click on placed, custom player head it gives you 1 diamond.
But instead i got a error:

"Invalid use of quotes (""") . If you want to use quotes in "quoted text", double them: "". (Event.sk line: 1
on right click on player head with custom nbt "{display:{Name:"{\"text\":\"Spirit Artifact\"}"},SkullOwner:{Id:[I;-1179724140,-1668002059,-1912954282,1471134756],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvODdkNzlmNzZjYWVhY2EwZDI0YjMwNzI4NDk2YzUwZWNmMWU1N2ZkYWFlZGJmMmRkMDE2MjNkYjliZjc4OWNlNCJ9fX0=}]}}}=}]}}}":emoji_slight_smile:

version: 1.17.1
Addons: SkQuery, SkStuff

Full Skript:

on right click on player head with custom nbt "{display:{Name:"{\"text\":\"Spirit Artifact\"}"},SkullOwner:{Id:[I;-1179724140,-1668002059,-1912954282,1471134756],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvODdkNzlmNzZjYWVhY2EwZDI0YjMwNzI4NDk2YzUwZWNmMWU1N2ZkYWFlZGJmMmRkMDE2MjNkYjliZjc4OWNlNCJ9fX0=}]}}}=}]}}}":
give 1 diamond
 
Status
Not open for further replies.