RPG Maker VX Ace How to have player choose which party member does an action?

Title says it all. I wanted to implement a system wherein upon level up, the character gains a skill point and then gets to spend it at a trainer. However, I can't find a way to get it so that when the player goes to a trainer, they can then choose which member of their current party can learn the skill.
Same problem with another thing I want. I wanted to have the player be able to get rid of party members in inns by getting them a room, but there is no way (that I've seen) to have the player choose which party member this happens to. The closest I can do is that I have the script pick the character, but that is not how I wish it to be handled.

This has gotten to the point where I'm highly considering switching engines, which I don't want to do, as I have no art skill or money with which to hire artists and this comes with art assets.

Slightly off-topic: Does anyone know where I can find a comprehensive list of keywords for the scripting language this uses? My Google-fu has failed me.
you can do this without scripting if you're using a sequence of show choices, conditional branches and control variables commands.
The event will get longer the more actors you have to check by conditional branch, but there is no technical problem in doing that.

The scripting language is a variant of Ruby, but other than the forums on this website there aren't many sources of the differences between Ruby and RGSS3.

Original thread: https://forums.rpgmakerweb.com/threads/rpg-maker-vx-ace-how-to-have-player-choose-which-party-member-does-an-action.80127/