Hello, I trie to use GS on wow, but now that s doesn t work. I play on a EU serveur, I think i do every thing i have to do but … Nothing when I create the macro ( nothing appear in macro text zone)
for information … My Lua doc
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
]],
}
—Paladin—
—Retribution—
Sequences[‘RetS’] = {
PreMacro = [[
/targetenemy [noharm][dead]
/cast [nostance: 1] seal of truth
/cast Avenging Wrath
]],
‘/cast Crusader Strike’,
‘/cast Execution Sentence’,
‘/cast Judgment’,
‘/cast Hammer of Wrath’,
‘/cast Exorcism’,
“/cast Templar’s Verdict”,
PostMacro = [[
/use [combat]13
/use [combat]14
/startattck
]],
}
Sequences[‘RetA’] = {
PreMacro = [[
/targetenemy [noharm][dead]
/cast [nostance: 2] seal of righteousness
/cast Avenging Wrath
]],
‘/cast Hammer of the Righteous’,
‘/cast Execution Sentence’,
‘/cast Judgment’,
‘/cast Hammer of Wrath’,
‘/cast Exorcism’,
‘/cast Divine Storm’ ,
PostMacro = [[
/use [combat]13
/use [combat]14
/startattck
]],
}
Sequences[‘RetSB’] = {
PreMacro = [[
/targetenemy [noharm][dead]
/cast [nostance: 1] seal of truth
/cast Avenging Wrath
]],
‘/cast Crusader Strike’,
‘/cast Execution Sentence’,
‘/cast Judgment’,
‘/cast Hammer of Wrath’,
‘/cast Exorcism’,
PostMacro = [[
/use [combat]13
/use [combat]14
/startattck
]],
}
Sequences[‘RetAB’] = {
PreMacro = [[
/targetenemy [noharm][dead]
/cast [nostance: 2] seal of righteousness
/cast Avenging Wrath
]],
‘/cast Hammer of the Righteous’,
‘/cast Execution Sentence’,
‘/cast Judgment’,
‘/cast Hammer of Wrath’,
‘/cast Exorcism’,
PostMacro = [[
/use [combat]13
/use [combat]14
/startattck
]],
}
—Protection—
Sequences[‘ProtS’] = {
StepFunction = [[
limit = limit or 1
if step == limit then
limit = limit % #macros + 1
step = 1
else
step = step % #macros + 1
end
]],
PreMacro = [[
/targetenemy [noharm][dead]
/cast [nostance: 3] seal of insight
/cast [combat] Divine Protection
]],
“/cast Avenger’s Shield”,
‘/cast Crusader Strike’,
‘/castsequence reset=20 Sacred Shield,Judgment,Judgment,Judgment’,
“/cast Execution Sentence”,
‘/cast Hammer of Wrath’,
‘/cast Consecration’,
“/cast Holy Wrath”,
PostMacro = [[
/use [combat]13
/use [combat]14
/startattck
/cast Shield of the Righteous
]],
}
Sequences[‘ProtA’] = {
StepFunction = [[
limit = limit or 1
if step == limit then
limit = limit % #macros + 1
step = 1
else
step = step % #macros + 1
end
]],
PreMacro = [[
/targetenemy [noharm][dead]
/cast [nostance: 3] seal of insight
/cast [combat] Divine Protection
]],
“/cast Avenger’s Shield”,
‘/cast Hammer of the Righteous’,
‘/castsequence reset=20 Sacred Shield,Judgment,Judgment,Judgment’,
“/cast Execution Sentence”,
‘/cast Hammer of Wrath’,
‘/cast Consecration’,
“/cast Holy Wrath”,
PostMacro = [[
/use [combat]13
/use [combat]14
/startattck
/cast Shield of the Righteous
]],
}
Sequences[‘ProtSB’] = {
StepFunction = [[
limit = limit or 1
if step == limit then
limit = limit % #macros + 1
step = 1
else
step = step % #macros + 1
end
]],
PreMacro = [[
/targetenemy [noharm][dead]
/cast [nostance: 3] seal of insight
/cast [combat] Divine Protection
]],
“/cast Avenger’s Shield”,
‘/cast Crusader Strike’,
‘/castsequence reset=20 Sacred Shield,Judgment,Judgment,Judgment’,
“/cast Execution Sentence”,
‘/cast Hammer of Wrath’,
‘/cast Consecration’,
“/cast Holy Wrath”,
PostMacro = [[
/use [combat]13
/use [combat]14
/startattck
]],
}
Sequences[‘ProtAB’] = {
StepFunction = [[
limit = limit or 1
if step == limit then
limit = limit % #macros + 1
step = 1
else
step = step % #macros + 1
end
]],
PreMacro = [[
/targetenemy [noharm][dead]
/cast [nostance: 3] seal of insight
/cast [combat] Divine Protection
]],
“/cast Avenger’s Shield”,
‘/cast Hammer of the Righteous’,
‘/castsequence reset=20 Sacred Shield,Judgment,Judgment,Judgment’,
“/cast Execution Sentence”,
‘/cast Hammer of Wrath’,
‘/cast Consecration’,
“/cast Holy Wrath”,
PostMacro = [[
/use [combat]13
/use [combat]14
/startattck
]],
}
—Hunter—
—Marksman—
Sequences[‘MMS’] = {
PreMacro = [[
/targetenemy [noharm][dead]
/cast [@focus,help][help][@pet,exists] Misdirection
/cast [combat] Rapid Fire
/cast [combat] Blood Fury
]],
‘/cast Chimaera Shot’,
‘/cast Kill Shot’,
‘/cast A Murder of Crows’,
‘/cast Glaive Toss’,
‘/cast Aimed Shot’,
‘/cast [nochanneling] Steady Shot’,
‘/cast Chimaera Shot’,
‘/cast Kill Shot’,
‘/cast A Murder of Crows’,
‘/cast Glaive Toss’,
‘/cast Aimed Shot’,
PostMacro = [[
/startattack
/use [combat]13
/use [combat]14
/cast Chimaera Shot
]],
}
Sequences[‘MMA’] = {
PreMacro = [[
/targetenemy [noharm][dead]
/cast [@focus,help][help][@pet,exists] Misdirection
/cast [combat] Rapid Fire
/cast [combat] Blood Fury
]],
‘/cast Chimaera Shot’,
‘/cast Kill Shot’,
‘/cast A Murder of Crows’,
‘/cast Glaive Toss’,
‘/cast Multi-Shot’,
‘/cast [nochanneling] Steady Shot’,
‘/cast Chimaera Shot’,
‘/cast Kill Shot’,
‘/cast A Murder of Crows’,
‘/cast Glaive Toss’,
‘/cast Multi-Shot’,
PostMacro = [[
/startattack
/use [combat]13
/use [combat]14
/cast Chimaera Shot
]],
}
—Warrior—
—Gladiator—
Sequences[‘GLADIATOR’] = {
PreMacro = [[
/targetenemy [noharm][dead]
/cast [combat] Berserker Rage
/cast [combat] Blood Fury
/cast [combat] Bloodbath
/cast [combat] Shield Charge
/cast Heroic Strike
]],
‘/cast Shield Slam’,
‘/cast Storm Bolt’,
‘/cast Revenge’,
‘/cast Execute’,
‘/cast Devastate’,
‘/cast victory rush’,
‘/cast Shield Slam’,
‘/cast Storm Bolt’,
‘/cast Revenge’,
‘/cast Execute’,
‘/cast victory rush’,
PostMacro = [[
/startattack
/use [combat]13
/use [combat]14
/cast Shield Slam
]],
}
Sequences[‘GLADS’] = {
PreMacro = [[
/targetenemy [noharm][dead]
/cast [combat] Berserker Rage
/cast [combat] Blood Fury
/cast [combat] Bloodbath
]],
‘/cast Shield Slam’,
‘/cast Storm Bolt’,
‘/cast Revenge’,
‘/cast Execute’,
‘/cast Devastate’,
‘/cast victory rush’,
‘/cast Shield Slam’,
‘/cast Storm Bolt’,
‘/cast Revenge’,
‘/cast Execute’,
‘/cast victory rush’,
PostMacro = [[
/startattack
/use [combat]13
/use [combat]14
/cast Shield Slam
]],
}
—Fury—
Sequences[‘Fury’] = {
StepFunction = [[
limit = limit or 1
if step == limit then
limit = limit % #macros + 1
step = 1
else
step = step % #macros + 1
end
]],
PreMacro = [[
/targetenemy [noharm][dead]
/cast [combat] Berserker Rage
/cast [combat] Blood Fury
/cast [combat] Bloodbath
/cast [combat] Recklessness
]],
‘/cast Execute’,
‘/cast Bloodthirst’,
‘/cast Storm Bolt’,
‘/cast Raging Blow’,
‘/cast Victory Rush’,
PostMacro = [[
/startattack
/use [combat]13
/use [combat]14
]],
}
—Shaman—
—Enhancement—
Sequences[‘EnhanceS’] = {
StepFunction = [[
limit = limit or 1
if step == limit then
limit = limit % #macros + 1
step = 1
else
step = step % #macros + 1
end
]],
PreMacro = [[
/targetenemy [noharm][dead]
/cast [combat] Ascendance
/cast [combat] Blood Fury
]],
‘/castsequence [nopet:Primal Fire Elemental] reset=combat/5 Searing Totem,Healing Stream Totem,Healing Stream Totem’,
‘/castsequence reset=5 Lava Lash,Flame Shock,Lava Lash’,
‘/cast Liquid Magma’,
‘/cast Stormstrike’,
‘/cast Unleash Elements’,
‘/cast Frost Shock’,
‘/cast Feral Spirit’,
PostMacro = [[
/startattack
/use [combat]13
/use [combat]14
/cast Lava Lash
]],
}
Sequences[‘EnhanceA’] = {
StepFunction = [[
limit = limit or 1
if step == limit then
limit = limit % #macros + 1
step = 1
else
step = step % #macros + 1
end
]],
PreMacro = [[
/targetenemy [noharm][dead]
/cast [combat] Ascendance
/cast [combat] Blood Fury
]],
‘/castsequence [nopet:Primal Fire Elemental] reset=combat/5 Magma Totem,Healing Stream Totem,Healing Stream Totem’,
‘/castsequence reset=5 Lava Lash,Flame Shock,Lava Lash’,
‘/cast Liquid Magma’,
‘/cast Stormstrike’,
‘/cast Unleash Elements’,
‘/cast Fire Nova’,
‘/cast Feral Spirit’,
PostMacro = [[
/startattack
/use [combat]13
/use [combat]14
/cast Lava Lash
]],
}
—Death Knight—
—Unholy—
Sequences[“Unholy”] = {
StepFunction = [[
limit = limit or 1
if step == limit then
limit = limit % #macros + 1
step = 1
else
step = step % #macros + 1
end
]],
PreMacro = [[
/targetenemy [noharm][dead]
/cast [combat] Blood Fury
]],
‘/castsequence reset=target Plague Strike,Plague Leech’,
‘/cast [nopet] Raise Dead; Dark Transformation’,
‘/cast Scourge Strike’,
‘/cast Festering Strike’,
‘/cast Death Coil’,
‘/cast [combat] Summon Gargoyle’,
PostMacro = [[
/petattack
/startattack
/use [combat]13
/use [combat]14
]],
}
Sequences[“UnholySR”] = {
StepFunction = [[
limit = limit or 1
if step == limit then
limit = limit % #macros + 1
step = 1
else
step = step % #macros + 1
end
]],
PreMacro = [[
/targetenemy [noharm][dead]
/cast [combat] Blood Fury
]],
‘/castsequence reset=target Plague Strike,Plague Leech’,
‘/cast [nopet] Raise Dead; Dark Transformation’,
‘/cast Soul Reaper’,
‘/cast Scourge Strike’,
‘/cast Festering Strike’,
‘/cast Death Coil’,
‘/cast [combat] Summon Gargoyle’,
PostMacro = [[
/petattack
/startattack
/use [combat]13
/use [combat]14
]],
}
Sequences[“UnholyN”] = {
StepFunction = [[
limit = limit or 1
if step == limit then
limit = limit % #macros + 1
step = 1
else
step = step % #macros + 1
end
]],
PreMacro = [[
/targetenemy [noharm][dead]
/cast [combat] Blood Fury
/cast [combat] Empower Rune Weapon
]],
‘/castsequence reset=target Plague Strike,Outbreak’,
‘/cast [nopet] Raise Dead; Dark Transformation’,
‘/cast Unholy Blight’,
‘/cast Scourge Strike’,
‘/cast Festering Strike’,
‘/cast Death Coil’,
‘/cast [combat] Summon Gargoyle’,
‘/cast Remorseless Winter’,
PostMacro = [[
/petattack
/startattack
/use [combat]13
/use [combat]14
]],
}
Sequences[“UnholyNSR”] = {
StepFunction = [[
limit = limit or 1
if step == limit then
limit = limit % #macros + 1
step = 1
else
step = step % #macros + 1
end
]],
PreMacro = [[
/targetenemy [noharm][dead]
/cast [combat] Blood Fury
/cast [combat] Empower Rune Weapon
]],
‘/castsequence reset=target Plague Strike,Outbreak’,
‘/cast [nopet] Raise Dead; Dark Transformation’,
‘/cast Soul Reaper’,
‘/cast Unholy Blight’,
‘/cast Scourge Strike’,
‘/cast Festering Strike’,
‘/cast Death Coil’,
‘/cast [combat] Summon Gargoyle’,
‘/cast Remorseless Winter’,
PostMacro = [[
/petattack
/startattack
/use [combat]13
/use [combat]14
]],
}
Thx for Help