#Why is it sayingInvalid use of quotes ("). If you want to use quotes in "quoted text", double them

1 messages · Page 1 of 1 (latest)

fierce crescent
#

why bother using skript if you are barly using skript?

#

with skript its a bad parctice to use execute console command. you can simply do
give player a turtle egg named "&aBigTurtle" with lore "line1 %nl% line2 %nl% line3"

harsh schooner
#

even without op

#

so no one have to go /give with that big nbt

fierce crescent
#

you can add nbt to the item

storm bolt
#

use skBee to add NBT

harsh schooner
#

thanks!

harsh schooner
#

even after double quoting the quotes inside the nbt

mortal bronze
surreal stump
#

alright basically, it sees the entire thing as a string, and it cant differentiate with what is the end and any other " symbols. basically what skript is seeing is: "minecraft:give %player% turtle_egg{display: {Name: '{" extra ":[{" bold ":true," etc.

what you will need to do is literally what is says- to double the quotes inside of the string. this way it sees that you intend to use quotes in the string WITHOUT ending the string.

also, you can also just do this:
give player turtle egg named "EASTER EGG" with lore "Go to the Easter Egg Man to Claim Rewards!"
you can just add hex codes and such to that too, without using a console command for it.

harsh schooner
#

@mortal bronze

merry garden
#

Just why