This is my first attempt at my rogue. looking after improve help

looking after improve help

Sequences[“roug.law”] = {
StepFunction = [[
stepa = “112333342548659”
limit = string.len(stepa) or 1
if stepc == nil then
stepc = 1
end
if stepc >= limit then
stepc = 1
else
stepc = stepc + 1
end
step = tonumber(strsub (stepa, stepc, stepc))
]],
PreMacro = [[
/targetenemy [noharm][dead]
/cast [nocombat,nostealth] stealth
/stopattack [stealth]
/startattack [nostealth]
/cast [stealth] Ambush
/cast [stealth] Ambush
]],
– Step 1 -
[[
/cast [combat,nochanneling] ambush
]],
– Step 2 -
[[
/cast [combat,nochanneling] Revealing Strike
]],
– Step 3 -
[[
/cast [combat,nochanneling] Sinister Strike
]],
– Step 4 -
[[
/cast [nochanneling] Slice and Dice
]],
– Step 5 -
[[
/cast [combat,nochanneling] Eviscerate
]],
– Step 6 -
[[
/cast [combat,nochanneling] Adrenaline Rush
]],
– Step 7 -
[[
/cast [combat,nochanneling] Revealing Strike
]],
– Step 8 -
[[
/cast [combat,nochanneling] !Marked for Death
]],
– Step 9 -
[[
/cast [combat,nochanneling] Slice and Dice
]],
PostMacro = [[
/script UIErrorsFrame:Clear()
/startattack
/use [combat]13
/use [combat]14
/stopattack [stealth]
/script UIErrorsFrame:Hide();
/console Sound_EnableSFX 1
]],
}

Hi

Why do you put Revealing Strike in macro 2 and 7 when dont use macro 7??

Jimmy

[quote quote=25088]Hi
Why do you put Revealing Strike in macro 2 and 7 when dont use macro 7??
Jimmy
[/quote]

I cant get it to Work at all, i dont know whats wrong :frowning:

Jimmy

Sequences[“roug.law”] = {
StepFunction = [[
stepa = “112333342548659”
limit = string.len(stepa) or 1
if stepc == nil then
stepc = 1
end
if stepc >= limit then
stepc = 1
else
stepc = stepc + 1
end
step = tonumber(strsub (stepa, stepc, stepc))
]],
PreMacro = [[
/targetenemy [noharm][dead]
/cast [nocombat,nostealth] stealth
/stopattack [stealth]
/startattack [nostealth]
/cast [stealth] Ambush
/cast [stealth] Ambush
]],
— Step 1 –
[[
/cast [combat,nochanneling] ambush
]],
— Step 2 –
[[
/cast [combat,nochanneling] Revealing Strike
]],
— Step 3 –
[[
/cast [combat,nochanneling] Sinister Strike
]],
— Step 4 –
[[
/cast [nochanneling] Slice and Dice
]],
— Step 5 –
[[
/cast [combat,nochanneling] Eviscerate
]],
— Step 6 –
[[
/cast [combat,nochanneling] Adrenaline Rush
]],
— Step 7 –
[[
/cast [combat,nochanneling] Revealing Strike
]],
— Step 8 –
[[
/cast [combat,nochanneling] !Marked for Death
]],
— Step 9 –
[[
/cast [combat,nochanneling] Slice and Dice
]],
PostMacro = [[
/script UIErrorsFrame:Clear()
/startattack
/use [combat]13
/use [combat]14
/,
}stopattack [stealth]
/script UIErrorsFrame:Hide();
/console Sound_EnableSFX 1
]]

Think I got it working testing now but i added a few syntax things

Sequences[‘RougDPS’] = {
StepFunction = [[
stepa = “112333342548659”
limit = string.len(stepa) or 1
if stepc == nil then
stepc = 1
end
if stepc >= limit then
stepc = 1
else
stepc = stepc + 1
end
step = tonumber(strsub (stepa, stepc, stepc))
]],
PreMacro = [[
/targetenemy [noharm][dead]
/cast [nocombat,nostealth] stealth
/stopattack [stealth]
/startattack [nostealth]
/cast [stealth] Ambush
/cast [stealth] Ambush
]],
— Step 1 –
[[
/cast [combat,nochanneling] ambush
]],
— Step 2 –
[[
/cast [combat,nochanneling] Revealing Strike
]],
— Step 3 –
[[
/cast [combat,nochanneling] Sinister Strike
]],
— Step 4 –
[[
/cast [nochanneling] Slice and Dice
]],
— Step 5 –
[[
/cast [combat,nochanneling] Eviscerate
]],
— Step 6 –
[[
/cast [combat,nochanneling] Adrenaline Rush
]],
— Step 7 –
[[
/cast [combat,nochanneling] Revealing Strike
]],
— Step 8 –
[[
/cast [combat,nochanneling] !Marked for Death
]],
— Step 9 –
[[
/cast [combat,nochanneling] Slice and Dice
]],
PostMacro = [[
/script UIErrorsFrame:Clear()
/startattack
/use [combat]13
/use [combat]14
/stopattack [stealth]
/script UIErrorsFrame:Hide();
/console Sound_EnableSFX 1
]],
}