Code for active character

Hey there you guys!

So I'm fiddling around with the hud maker and am pretty fond of it as it stands. But it shows me that I seriously lack coding knowledge. I would be glad if any of you could show me an guide for beginners when it comes to that. I'm not good at finding stuff like that...All I've found till now makes my head explode.

What I'm asking myself right now is: Is there a code to let the game check if a certain party Member slot is active at one given time in battle. I mean there are codes like "$gameParty.members()[1]" to let the game check if there is an active partymember in Party Slot 1 so I guess there are have to be codes to let the game check if it is partymember 3's turn right now? I really hope so : O
Try
Code:
BattleManager.actor() === $gameParty.members()[3]
as a condition.
I thank you very very much!

Original thread: https://forums.rpgmakerweb.com/threads/code-for-active-character.83010/