6.0.3 Brewmaster Gnome Macro

This is my current project
Note I use the alt modifier to keep ahk from spamming, they can be removed without effecting functionality.

Sequences[‘MChiBuild’] = {
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 !Serenity
]],
[[/castsequence [mod:ctrl]Chi Brew,Blackout Kick]],
[[/castsequence [mod:alt]!Keg Smash,Blackout Kick,Tiger Palm,Jab,Purifying Brew]],
[[/cast [mod:alt]Blackout Kick]],
[[/cast [mod:alt]Expel Harm]],
[[/cast [mod:alt]Jab]],
[[/cast [mod:alt]Chi Wave]],
[[/cast [mod:alt]Touch of Death]],
[[/cast [mod:alt]Blackout Kick]],
PostMacro = [[
/startattack
/use [combat]13
/use [combat]14
/run UIErrorsFrame:Clear()
]],
}

Can you explain your comment about using the alt modifier on the /cast to make AHK not spam… Not really understanding what you mean there.

.