T18 Water Jet macro - Help Please.

Hello,
I recently got the T18 gear set for my Frost mage, and I’m trying to make a simple macro for Water Jet. Given zero haste, I can cast 6 Frostbolts + use the automatic procs during the water jet activation. I have it working but the reset condition does not seem to be working.

Basically, I want the macro to go through the steps and then stop until 26 seconds has passed from the first click. Then start again start again if I keep spamming it.

This is what I have so far. It does want I want, but does stop once all the steps are completed.

Just a note, I’m not sure this is the best sequence, but I will work on that once I get the macro working properly.

Thanks for the help!!

Sequences['Jet'] = { 
PreMacro = [[
/cast [nopet] Summon Water Elemental
/targetenemy [noharm][dead]
]],
	'/castsequence reset=26 Frostbolt',
	'/castsequence reset=26 Water Jet',
	'/castsequence reset=26 Frostbolt',
	'/castsequence reset=26 Frostbolt',
	'/castsequence reset=26 Ice Lance',
	'/castsequence reset=26 Frostfire bolt',
	'/castsequence reset=26 Frostbolt',
        '/castsequence reset=26 Frostbolt',
	'/castsequence reset=26 Frostbolt',
	'/castsequence reset=26 Ice Lance',		
	
PostMacro = [[
/startattack
/petattack
/targetenemy [noharm][dead]
/script UIErrorsFrame:Hide();
]],
}

As as follow up. I’m also wondering if the sequence should be all on the same line?

castsequence is usually more than 1 spell cast or just [[/cast spellname]],

I think this is what you trying to get at ?


Sequences["Jet"] = { 
PreMacro = [[
/cast [nopet] Summon Water Elemental
/targetenemy [noharm][dead]
]],
[[/castsequence reset=26 Frostbolt, Water Jet, Frostbolt, Frostbolt, Ice Lance,Frostfire bolt, Frostbolt, Frostbolt, Frostbolt, Frostbolt, Ice Lance]],
PostMacro = [[
/startattack
/petattack
/targetenemy [noharm][dead]
/script UIErrorsFrame:Hide();
]],
}