How to get Skill user id?

Hi everyone,
I need to make sure that a skill that can only be used from the menu (therefore NOT in battle) recalls a common event that shows an image and dialogue.
This image changes depending on who uses the skill.
example: IF actorID01 uses skill "hi", show image actorid01hi.png
How can I get the ID of the person who uses the skill?
Can you confirm the engine you're using? You posted in MZ support, but your profile says you use MV.

MZ has this built into Control Variables -> Game Data -> Last

MV would need a different approach.
Can you confirm the engine you're using? You posted in MZ support, but your profile says you use MV.

MZ has this built into Control Variables -> Game Data -> Last

MV would need a different approach.
Yes I confirm I'm using MZ
ALSO oh thanks going to try "last" thank you!
You're welcome! You might want to change it on your profile just so you don't keep getting asked 😉
Sure, thank you so much 🙂

Original thread: https://forums.rpgmakerweb.com/threads/how-to-get-skill-user-id.165482/