I need help with a macro!

So I want to ideally make a cast sequence macro that does pet leap, and then gnaw only if I repress the key after the leap is executed. After that I want to make a seperate focus macro for it too.

These are what I have currently that are close I think but something must be off.

#showtooltip
/cast [nopet][@pet,dead]Raise Dead
/petattack
/castsequence reset=30 !Leap, !Gnaw

#showtooltip Gnaw
/castsequence reset=30 [target=focus, exists] !Leap, [target=focus, exists] !Gnaw

This is what I use on arms war to charge, and then hamstring.

#showtooltip Charge
/castsequence reset=2 Charge, Hamstring

replace charge and hamstring with leap and gnaw and it should work but keep in mind the names of the abilities change during dark transformation i think.

same issue as mine, it casts the leap, not the gnaw.

Maybe you can utilise /petautocaston Gnaw?

hmm weird maybe some pet macro shinanegans i don’t use pet classes much sry ):

I don’t think that addition would be helpful. I could just put /cast leap /cast gnaw if I want it to follow up 100% of the time. I want them to be separate, and may just bind them separate if necessary. I do know I had a functioning macro for it working as intended before.