Skill/action sequence that acts different if it targets the user?

I wanted to make a skill where the user moves over to their target and patches them up with a healing item. The problem here is that, if the skill is used on the user themself, they simply walk a few steps forward, turn around and the animation weirdly plays on them.
This is my current set-up for the notetag.

<setup action>

display action

immortal: targets, true

</setup action>

<target action>

move user: target, front base, 10
wait: 10

wait for movement

move user: target, base, 5

animation 139: target

wait: 5

action effect

motion chant: user

wait for movement

face user: target

move user: target, front base, 10

face user: target

wait for animation

move user: home, 20

face user: forward

wait for movement
</target action>

How would I go about making an Else function or something like that to make the user perform some different motions when the skill targets themself?
Hi, I guess this is what you need:
Code:
if user === target
    //action sequence if target is the user//
else
    //action sequence if target is someone else//
end

Original thread: https://forums.rpgmakerweb.com/threads/skill-action-sequence-that-acts-different-if-it-targets-the-user.117463/