Ruby:
if $game_party.battle_members.any? { |actor| actor.skills.include?($data_skills[9]) } && BattleManager.actor == $game_actors[2]
BattleManager.actor.input.set_skill(9)
Context: Battlemanager.actor.input.set_skill in VX Ace was used to make a character automatically use a skill. Battlemanager.actor == $game_actors[2] was used to check if the currently hovered over character is actor 2, to make them auto-use Scan if a button is pressed.
I primarily want to know what the MV version of Battlemanager.actor.input.set_skill is, since it's the most important part of this. (And perhaps the actor.skills.include? section too.)