# Help first time "Gnome Sequencer"

**URL:** <https://wowlazymacros.com/t/help-first-time-gnome-sequencer/1664>\
**Category:** Patch 6.0+\
**Created:** [March 22, 2015, 8:51pm UTC](https://wowlazymacros.com/t/help-first-time-gnome-sequencer/1664 "2015-03-22T20:51:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![malikiejder](https://wowlazymacros.com/letter_avatar_proxy/v4/letter/m/9de053/32.png) [@malikiejder](https://wowlazymacros.com/u/malikiejder)\
**Post date:** [March 22, 2015, 8:51pm UTC](https://wowlazymacros.com/t/help-first-time-gnome-sequencer/1664/1 "2015-03-22T20:51:01Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![blackhawk](https://wowlazymacros.com/letter_avatar_proxy/v4/letter/b/3e96dc/32.png) [@blackhawk](https://wowlazymacros.com/u/blackhawk)\
**Post date:** [March 23, 2015, 7:41am UTC](https://wowlazymacros.com/t/help-first-time-gnome-sequencer/1664/2 "2015-03-23T07:41:09Z")

</div>

Hi when you say you deleted all in side of file that was the wrong thing to do you must always keep

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

```

---

<div class="post-metadata">

**Author:** ![blackhawk](https://wowlazymacros.com/letter_avatar_proxy/v4/letter/b/3e96dc/32.png) [@blackhawk](https://wowlazymacros.com/u/blackhawk)\
**Post date:** [March 23, 2015, 7:47am UTC](https://wowlazymacros.com/t/help-first-time-gnome-sequencer/1664/3 "2015-03-23T07:47:52Z")

</div>

Copy that into your Sequencer.lua so it overwrites everything inside it
