Step 1.Download this Template so you can get started.
Step 2.Edit the commands inside of the template just like the image below.
Step 3.(Optional) If you want the Npc to execute more than one command copy this text in the brackets(dont copy the brackets)
[ {
"cmd_line" : "Insert any minecraft command here",
"cmd_ver" : 25
},]
and then create a new line at the end just like the image below.
Then paste (execluding the quotations)" {
"cmd_line" : "Insert any minecraft command here",
"cmd_ver" : 25
},"
Into that