help w/YEP Row Formation-find alive members in row, send 1 to new row

I've been mucking with this too long and my Javascript, which wasn't that strong a skill before, is now too rusty for me to figure out what to do.

I want to check which members are alive in a row, and then send one member from that row to another row.

My guess is I need to use $gameParty.rowAliveMembers(x) to get my alive members (put into a variable/array?) and then use battler.setRow(x) on a member the other function selects (by using the array I would create?). I don't know how to use said functions though at least not correctly.

Thank you.
It's been a few days, just wondering if anyone had any idea on how to do this.

Original thread: https://forums.rpgmakerweb.com/threads/help-w-yep-row-formation-find-alive-members-in-row-send-1-to-new-row.86697/