Finding Actor Variables, System Variables, etc.

I am having the darnedest time trying to access information about the characters in my party in my scripts. I've checked the script calls, but there doesn't seem to be ones for what I'm trying to do:

On the Map (not in battle), access the HP, MP, Attack, Defense, and M. Attack of the first member of my party, regardless of which actor is in the first slot.

What would really be helpful is a kind of database of variables like these. I haven't found anything like it. Am I crazy?
$gameParty.members()[0].hp$gameParty.members()[0].mp$gameParty.members()[0].atk$gameParty.members()[0].def$gameParty.members()[0].matEdit: My bad, was messing with Ruby again earlier.
"members" is a function (that returns an array), so the correct form would be:

$gameParty.members()[0].atk;Properties are declared in rpg_objects.js from line 2113 onwards. Those aren's functions, so you use them like normal variables. They are read-only, though, since they haven't a "set" handler defined./edit: Alternatively, you can use:

Code:
$gameParty.leader();
which will automatically return the first actor in the party.
...I honestly could kiss you right now, I'm so happy.

Original thread: https://forums.rpgmakerweb.com/threads/finding-actor-variables-system-variables-etc.54767/