Yanfly action sequence plugin help

Hi!

Ive been using http://yanfly.moe/2015/10/11/yep-4-action-sequence-pack-1/
which is great!

But what if the target evades an attack or the hit misses?
Is there anyway to check against this. For example if the target evades an attack the rest of the action sequence doesn't play.
I see you can use If statements but im not sure what id need to put in there. Any pointers?

Cheers!
There is a way to do so with IF statement, but please note that multiple IF statements in a stack do not work really well, so the best way is to seperate them.
Put all the check below ACTION EFFECT. To skip the rest of action sequence, you may use BREAK ACTION.
Code:
ACTION EFFECT
IF target.result().missed
Do something (BREAK ACTION)
END
IF target.result().evaded
Do the same thing as above (BREAK ACTION)
END
Thanks! this is just what i need 🙂)

Original thread: https://forums.rpgmakerweb.com/threads/yanfly-action-sequence-plugin-help.91683/