Help diagnosing script issue

I got this script off this site but 2 of the portions run into errors and the author doesn’t seem like he knows how to fix it.

Message: …\AddOns\GnomeSequencer\Sequences.lua line 403:
‘}’ expected (to close ‘{’ at line 393) near ‘s’

Sequences[“RET”] = {
PreMacro = [[
/targetenemy [noharm][dead]
/castsequence reset=2 Seal of Truth,null
]],
‘/cast Judgment’,
‘/cast Crusader Strike’,
‘/cast Exorcism’,
‘/cast !Avenging Wrath’,
‘/cast !Execution Sentence’,
‘/cast Templar’s Verdict’,
‘/cast Hammer of Wrath’,
PostMacro = [[
/startattack
]],
}

Sequences[“RET”] = {
PreMacro = [[
/targetenemy [noharm][dead]
/castsequence reset=2 Seal of Truth,null
]],
‘/cast Judgment’,
‘/cast Crusader Strike’,
‘/cast Exorcism’,
‘/cast !Avenging Wrath’,
‘/cast !Execution Sentence’,
‘/cast Templar’s Verdict’,
‘/cast Hammer of Wrath’,
PostMacro = [[
/startattack
]],
}

change to this

Sequences[“RET”] = {
PreMacro = [[
/targetenemy [noharm][dead]
/castsequence reset=2 Seal of Truth,null
]],
‘/cast Judgment’,
‘/cast Crusader Strike’,
‘/cast Exorcism’,
‘/cast !Avenging Wrath’,
‘/cast !Execution Sentence’,
[[/cast Templar’s Verdict]],
‘/cast Hammer of Wrath’,
PostMacro = [[
/startattack
]],
}

OR

Sequences[“RET”] = {
PreMacro = [[
/targetenemy [noharm][dead]
/castsequence reset=2 Seal of Truth,null
]],
‘/cast Judgment’,
‘/cast Crusader Strike’,
‘/cast Exorcism’,
‘/cast !Avenging Wrath’,
‘/cast !Execution Sentence’,
‘/cast Hammer of Wrath’,
PostMacro = [[
/cast Templar’s Verdict
/startattack
]],
}

[quote quote=19787]change to this


[[/cast Templar’s Verdict]],

[/quote]

Please do not. Just escape it properly like:


'/cast Templar\'s Verdict',

it is best when coding to stay simple and consistent. Since you have quoted all your other lines, stay consistent and quote the templar’s verdict as well. Otherwise you will make a change and break something along the way, come to someone like me and I will have to fight my way through 4 different code standards to figure out where your syntax error is.