Immolate help needed

Hello lads,
I’m new here so please ez with the flames.

Im trying to make an simple sequence in gs what after each mob swap “pressing tab” the char would cast Immolate, if not it would continue with the Incinirate on the target, i had it back in the days byt now i cant make it working.
In addidion i’m using AHK with keypress.

Thanks for help, cheers M.

try /castsequence reset=target SPELL, null
first try putting it in keypress if it sticks try putting it into premacro with a inner loop limit of 1