Complex macros for training?

I play St on Mame and Kawaks. I’ve noticed that Kawa allows the use of macros and that would be useful in order to train against a virtual second player performing complex actions.

I’ve tried to plan some difficult macros but I failed. And the basic Kawaks faq is not helping.

Therefore I’d like to know if there are people who have already designed complex macros.

By the way, and despite my disgust for him, I want to ask too if it is possible to program a macro that allows to play with Akuma.

This isn’t the board for this.