How do I make a clickable signs set a block?

How do I make a clickable signs set a block? - Letter tiles of board game on table

I made a command where there is a clickable sign that teleports a player to spawn. Here is the command:

/setblock ~ ~1 ~ minecraft:wall_sign 2 replace {Text1:"{text:\"Start\",clickEvent:{action:run_command,value:\"/tp @p[c=1] -658 104 -690\"}}"} 

How do I alter the command to setblock a redstone block?

I tried this:

/setblock ~ ~1 ~ minecraft:wall_sign 2 replace {Text1:"{\"text\":\"Set Gamemodes\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/setblock -44 110 248 152 delete\"}}"} 

but it didn't work. What am I doing wrong?






Pictures about "How do I make a clickable signs set a block?"

How do I make a clickable signs set a block? - Wooden letter cubes placed on red and white table
How do I make a clickable signs set a block? - Stylish beauty products arranged on pink table
How do I make a clickable signs set a block? - Top view of different types and colors American dollars placed together on each other





HOW TO MAKE CLICKABLE SIGNS **1.14 updated in description link** | Comment to Command #3




Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.

Images: Matthias Groeneveld, Alesia Kozik, Ray Piedra, Karolina Grabowska