Forums Forums Classes Paladins Help diagnosing script issue

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • avatarrfanch3r
    Scout
    Post count: 2
    #19785 |

    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
    ]],
    }

    Profile photo of Fuzzy NavelFuzzy Navel
    First Sergeant
    Pluckyduck <Without Warning> of Trollbane -US Level 110 Night Elf Druid

    Recent Activity

    Post count: 81

    change to this

    Profile photo of Fuzzy NavelFuzzy Navel
    First Sergeant
    Pluckyduck <Without Warning> of Trollbane -US Level 110 Night Elf Druid

    Recent Activity

    Post count: 81

    OR

    avatarRetired Fixer
    First Sergeant
    Post count: 91

    change to this

    Please do not. Just escape it properly like:

    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.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.