Actor Battle Turn Indicator

Does anyone know what the script would be to make something occur when a party member's turn is ready during battle?

For instance, IF it's member 1's turn, THEN something happens. I'm using Yanfly's ATB plugin, but I'm not exactly sure what the right script is to check if a party member's turn is ready. I'm looking solely for the IF part of the script, nothing extra.

Please let me know if I can do anything to clarify the question. My knowledge of java exists...but is very basic 😛
Bumping this one!

To simplify my request, I'm just looking for a way to make an icon appear over a player when their turn is active in battle. Does anyone know the script to check for the ID of the character whose turn it is during battle? If I could just figure that out, the rest will fall into place.
I've figured this out, so this thread can be closed now. Thanks!

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/actor-battle-turn-indicator.94430/