I am using first time “Gnome Sequencer” but i could not succes to use that program. i find some example on internet and i changed but it gives always errror.
i changed that “ExampleSequences” file name as a “Sequences”.
then i deleted everything inside of that file and i copy that:
Sequences[‘RetAOE’] = {
PreMacro = [[
/targetenemy [noharm][dead]
]],
‘/cast Judgment’,
‘/cast Hammer of the Righteous’,
‘/cast Exorcism’,
‘/cast !Avenging Wrath’,
‘/cast !Execution Sentence’,
‘/cast Divine Storm’ ,
‘/cast Hammer of Wrath’,
PostMacro = [[
/use [combat]13
/use [combat]14
]],
}
However it is not work. can anyone help me that plz. or what should i do?
Hi when you say you deleted all in side of file that was the wrong thing to do you must always keep
local _, Sequences = ... -- Don't touch this
----
-- Rename this file to Sequences.lua before you get started, it uses a different file name so as not to overwrite your existing file with a future update.
-- Every entry in the Sequences table defines a single sequence of macros which behave similarly to /castsequence.
-- Sequence names must be unique and contain no more than 16 characters.
-- To use a macro sequence, create a blank macro in-game with the same name you picked for the sequence here and it will overwrite it.
----
----
-- Here's a large demonstration sequence documenting the format:
Sequences["GnomeExample1"] = {
-- StepFunction optionally defines how the step is incremented when pressing the button.
-- This example increments the step in the following order: 1 12 123 1234 etc. until it reaches the end and starts over
-- DO NOT DEFINE A STEP FUNCTION UNLESS YOU THINK YOU KNOW WHAT YOU'RE DOING
StepFunction = [[
limit = limit or 1
if step == limit then
limit = limit % #macros + 1
step = 1
else
step = step % #macros + 1
end
]],
-- PreMacro is optional macro text that you want executed before every single button press.
-- This is if you want to add something like /startattack or /stopcasting before all of the macros in the sequence.
PreMacro = [[
/run print("-- PreMacro Script --")
/startattack
]],
-- PostMacro is optional macro text that you want executed after every single button press.
-- I don't know what you would need this for, but it's here anyway.
PostMacro = [[
/run print("-- PostMacro Script --")
]],
-- Macro 1
[[
/run print("Executing macro 1!")
/cast SpellName1
]],
-- Macro 2
[[
/run print("Executing macro 2!")
/cast SpellName2
]],
-- Macro 3
[[
/run print("Executing macro 3!")
/cast SpellName3
]],
}
----
-- Here is a short example which is what most sequences will look like
Sequences["GnomeExample2"] = {
-- Macro 1
[[
/run print("Executing macro 1!")
/cast SpellName1
]],
-- Macro 2
[[
/run print("Executing macro 2!")
/cast SpellName2
]],
-- Macro 3
[[
/run print("Executing macro 3!")
/cast SpellName3
]],
Sequences['RPAE'] = {
PreMacro = [[
/targetenemy [noharm][dead]
/castsequence reset=2 Seal of Righteousness,null
]],
'/cast Judgment',
'/cast Hammer of the Righteous',
'/cast Exorcism',
'/cast !Avenging Wrath',
[[/cast !Execution Sentence]],
"/cast Divine Storm" ,
'/cast Hammer of Wrath',
PostMacro = [[
/use [combat]13
/use [combat]14
/startattack
]],
}
Copy that into your Sequencer.lua so it overwrites everything inside it