How do I make an if and else for missed attacks

<Target Action>

perform action

fade out: 60

opacity user: 0%, 60

camera focus: user

zoom: 165%, 20

MOVE user: target, BACK base, 120

camera offset: right, 50

hide battle hud

wait for movement

fade in: 1

opacity user: 100%, 5

FACE user: target

motion swing: user

action effect

show battle hud

wait: 40

move user: home, 30

wait for movement

face user: forward

</Target Action>

I wanna do something else if the attack misses. but I have no idea how to do that.
for instance, if the attack misses the user would look abnormal.
if the core plugin doesn't account for it, you won't change it just from the note tags.
How do I find out if it accounts for it then?
By reading the plugin help and description.
If yanfly's added such an option, it will be described there.
By reading the plugin help and description.
If yanfly's added such an option, it will be described there.
I’m working atm so I can’t check but I will update you if I do see it
I get off work in 1h30m. Just so you guys know I’m trying this

If (whatever the variable is for missed attacks)
action effect
else
action effect

The problem is I don’t know what to put after if for the note tag.
Ok i am home and checked the plugin help. it doesn't say anything about ANY if codes.
Ok i figured it out! found the right code

Original thread: https://forums.rpgmakerweb.com/threads/how-do-i-make-an-if-and-else-for-missed-attacks.91869/