Tried to look at the code but beeing basically a illiterate when it comes to coding I cant help you there.

Not knowing what you have tried only suggestion I can give is to start small to see if you got the basic functionality working.

In macro forums in Mercurios post there is a decent writeup on how he set it up. Follow it and and just point it to two in game buttons (2 and something else most usually). Dont bother with macros at this step just make a ingame macro for each button, for example "/p SEQ" and "/p PROC". Spam your DPS key and if chat window fills with SEQ,PROC,SEQ etc spam you know the functionality is working.

Next step is pointing the "2-step" to isboxer macros and trying to get those to work. When I did this I started small here also finding keybindings that worked and some test macros. Easy to expand from that when you have the system working.