Add a Opinion menu to the pause menu.

I found a way to do it (probably not the best) and it works fine. I just add a line that stop all the others events

1745540900771.png

The only problem with that method is that I need to do all the possibility of the team and there is like 5 possible companions, but it's okay ig it's just going to take a bit of time and the common event is going to be veryyyyyyy long, but that's fine I don't complain
I found a way to do it (probably not the best) and it works fine. I just add a line that stop all the others events

View attachment 338575
The only problem with that method is that I need to do all the possibility of the team and there is like 5 possible companions, but it's okay ig it's just going to take a bit of time and the common event is going to be veryyyyyyy long, but that's fine I don't complain
Hawwwooo! Maybe this will help you?
1745544644067.png


Code:
#==============================================================================
# ** KIRA Talk Menu (List Version)
#    Ver: 1.0
#------------------------------------------------------------------------------
#  * Description:
#  This script adds a "Talk" command to the main menu that displays a window
#  with a list of current party members. When a character is selected, it 
#  updates a variable and calls a common event.
#------------------------------------------------------------------------------
#  * Features: 
#  - Adds "Talk" command to the main menu
#  - Displays a simple list of party members
#  - Updates a variable with the selected character's ID
#  - Calls a common event after selection
#------------------------------------------------------------------------------
#  * Instructions:
#  1. Place this script in the Materials section of the Script Editor
#  2. Configure the settings below to set your preferences
#  3. Set up the common event that will be called when a character is selected
#==============================================================================

module KIRA
  module TalkMenu
    # Basic Settings
    MENU_NAME = "Talk"          # Name shown in the menu
    VARIABLE_ID = 10            # Variable to store selected actor ID
    COMMON_EVENT_ID = 2         # Common event to call after selection
    
    # Window Settings
    WINDOW_WIDTH = 400          # Width of the talk window
    HELP_HEIGHT = 64            # Height of the help window
    LIST_VISIBLE_ROWS = 8       # Number of visible rows in the list
    
    # Excluded Actor IDs
    EXCLUDED_ACTOR_IDS = [1, 7]
  end
end

#==============================================================================
# ** Window_MenuCommand
#==============================================================================
class Window_MenuCommand < Window_Command
  alias kira_talk_list_add_commands add_original_commands
  def add_original_commands
    kira_talk_list_add_commands
    enabled = $game_party.members.any? { |actor| !KIRA::TalkMenu::EXCLUDED_ACTOR_IDS.include?(actor.id) }
    add_command(KIRA::TalkMenu::MENU_NAME, :kira_talk, enabled)
  end
end

#==============================================================================
# ** Scene_Menu
#==============================================================================
class Scene_Menu < Scene_MenuBase
  alias kira_talk_list_create_command create_command_window
  def create_command_window
    kira_talk_list_create_command
    @command_window.set_handler(:kira_talk, method(:command_kira_talk))
  end

  def command_kira_talk
    SceneManager.call(Scene_KiraTalk)
  end
end

#==============================================================================
# ** Scene_KiraTalk
#==============================================================================
class Scene_KiraTalk < Scene_MenuBase
  def start
    super
    create_help_window
    create_list_window
  end

  def create_help_window
    x = (Graphics.width - KIRA::TalkMenu::WINDOW_WIDTH) / 2
    y = (Graphics.height - total_window_height) / 2
    @help_window = Window_KiraTalkHelp.new(x, y)
  end

  def create_list_window
    x = (Graphics.width - KIRA::TalkMenu::WINDOW_WIDTH) / 2
    y = @help_window.y + @help_window.height
    @list_window = Window_KiraTalkList.new(x, y)
    @list_window.set_handler(:ok, method(:on_select_ok))
    @list_window.set_handler(:cancel, method(:return_scene))
    @list_window.help_window = @help_window
  end

  def total_window_height
    valid_members = $game_party.members.reject { |actor| KIRA::TalkMenu::EXCLUDED_ACTOR_IDS.include?(actor.id) }
    list_rows = [valid_members.size, KIRA::TalkMenu::LIST_VISIBLE_ROWS].min
    line_height = 24
    list_height = list_rows * line_height + 32
    return KIRA::TalkMenu::HELP_HEIGHT + list_height
  end

  def on_select_ok
    actor = @list_window.selected_actor
    if actor
      $game_variables[KIRA::TalkMenu::VARIABLE_ID] = actor.id
      $game_temp.reserve_common_event(KIRA::TalkMenu::COMMON_EVENT_ID)
      SceneManager.goto(Scene_Map)
    else
      @list_window.activate
    end
  end
end

#==============================================================================
# ** Window_KiraTalkHelp
#==============================================================================
class Window_KiraTalkHelp < Window_Base
  def initialize(x, y)
    super(x, y, KIRA::TalkMenu::WINDOW_WIDTH, KIRA::TalkMenu::HELP_HEIGHT)
    refresh
  end
  
  def refresh
    contents.clear
    text = "Who would you like to talk to?"
    # Draw text with smaller vertical offset (6px from top)
    draw_text(0, 6, contents_width, line_height, text, 1)
  end
  
  # Keep this method to maintain compatibility with the update_help calls
  def update_text(actor)

  end
end

#==============================================================================
# ** Window_KiraTalkList
#==============================================================================
class Window_KiraTalkList < Window_Selectable
  attr_reader :help_window
  
  def initialize(x, y)
    @data = $game_party.members.reject { |actor| KIRA::TalkMenu::EXCLUDED_ACTOR_IDS.include?(actor.id) }
    window_height = [KIRA::TalkMenu::LIST_VISIBLE_ROWS, @data.size].min * item_height + standard_padding * 2
    
    super(x, y, KIRA::TalkMenu::WINDOW_WIDTH, window_height)
    self.select(0)
    refresh
    activate
    update_help
  end
  
  def help_window=(help_window)
    @help_window = help_window
    update_help
  end

  def update_help
    if @help_window && selected_actor
      @help_window.update_text(selected_actor)
    end
  end
  
  def refresh
    create_contents
    draw_all_items
  end

  def item_max
    @data ? @data.size : 0
  end

  def item_height
    line_height
  end

  def selected_actor
    @data[index] if index && index >= 0
  end

  def draw_item(index)
    return unless @data && index < @data.size
    actor = @data[index]
    return unless actor
    
    rect = item_rect(index)
    rect.width -= 16
    draw_text(rect.x + 8, rect.y, rect.width, rect.height, actor.name)
  end
  
  def process_handling
    super
  end
  
  def process_cursor_move
    last_index = @index
    super
  end
end
Hawwwooo! Maybe this will help you?
View attachment 338581

Code:
#==============================================================================
# ** KIRA Talk Menu (List Version)
#    Ver: 1.0
#------------------------------------------------------------------------------
#  * Description:
#  This script adds a "Talk" command to the main menu that displays a window
#  with a list of current party members. When a character is selected, it
#  updates a variable and calls a common event.
#------------------------------------------------------------------------------
#  * Features:
#  - Adds "Talk" command to the main menu
#  - Displays a simple list of party members
#  - Updates a variable with the selected character's ID
#  - Calls a common event after selection
#------------------------------------------------------------------------------
#  * Instructions:
#  1. Place this script in the Materials section of the Script Editor
#  2. Configure the settings below to set your preferences
#  3. Set up the common event that will be called when a character is selected
#==============================================================================

module KIRA
  module TalkMenu
    # Basic Settings
    MENU_NAME = "Talk"          # Name shown in the menu
    VARIABLE_ID = 10            # Variable to store selected actor ID
    COMMON_EVENT_ID = 2         # Common event to call after selection
   
    # Window Settings
    WINDOW_WIDTH = 400          # Width of the talk window
    HELP_HEIGHT = 64            # Height of the help window
    LIST_VISIBLE_ROWS = 8       # Number of visible rows in the list
   
    # Excluded Actor IDs
    EXCLUDED_ACTOR_IDS = [1, 7]
  end
end

#==============================================================================
# ** Window_MenuCommand
#==============================================================================
class Window_MenuCommand < Window_Command
  alias kira_talk_list_add_commands add_original_commands
  def add_original_commands
    kira_talk_list_add_commands
    enabled = $game_party.members.any? { |actor| !KIRA::TalkMenu::EXCLUDED_ACTOR_IDS.include?(actor.id) }
    add_command(KIRA::TalkMenu::MENU_NAME, :kira_talk, enabled)
  end
end

#==============================================================================
# ** Scene_Menu
#==============================================================================
class Scene_Menu < Scene_MenuBase
  alias kira_talk_list_create_command create_command_window
  def create_command_window
    kira_talk_list_create_command
    @command_window.set_handler(:kira_talk, method(:command_kira_talk))
  end

  def command_kira_talk
    SceneManager.call(Scene_KiraTalk)
  end
end

#==============================================================================
# ** Scene_KiraTalk
#==============================================================================
class Scene_KiraTalk < Scene_MenuBase
  def start
    super
    create_help_window
    create_list_window
  end

  def create_help_window
    x = (Graphics.width - KIRA::TalkMenu::WINDOW_WIDTH) / 2
    y = (Graphics.height - total_window_height) / 2
    @help_window = Window_KiraTalkHelp.new(x, y)
  end

  def create_list_window
    x = (Graphics.width - KIRA::TalkMenu::WINDOW_WIDTH) / 2
    y = @help_window.y + @help_window.height
    @list_window = Window_KiraTalkList.new(x, y)
    @list_window.set_handler(:ok, method(:on_select_ok))
    @list_window.set_handler(:cancel, method(:return_scene))
    @list_window.help_window = @help_window
  end

  def total_window_height
    valid_members = $game_party.members.reject { |actor| KIRA::TalkMenu::EXCLUDED_ACTOR_IDS.include?(actor.id) }
    list_rows = [valid_members.size, KIRA::TalkMenu::LIST_VISIBLE_ROWS].min
    line_height = 24
    list_height = list_rows * line_height + 32
    return KIRA::TalkMenu::HELP_HEIGHT + list_height
  end

  def on_select_ok
    actor = @list_window.selected_actor
    if actor
      $game_variables[KIRA::TalkMenu::VARIABLE_ID] = actor.id
      $game_temp.reserve_common_event(KIRA::TalkMenu::COMMON_EVENT_ID)
      SceneManager.goto(Scene_Map)
    else
      @list_window.activate
    end
  end
end

#==============================================================================
# ** Window_KiraTalkHelp
#==============================================================================
class Window_KiraTalkHelp < Window_Base
  def initialize(x, y)
    super(x, y, KIRA::TalkMenu::WINDOW_WIDTH, KIRA::TalkMenu::HELP_HEIGHT)
    refresh
  end
 
  def refresh
    contents.clear
    text = "Who would you like to talk to?"
    # Draw text with smaller vertical offset (6px from top)
    draw_text(0, 6, contents_width, line_height, text, 1)
  end
 
  # Keep this method to maintain compatibility with the update_help calls
  def update_text(actor)

  end
end

#==============================================================================
# ** Window_KiraTalkList
#==============================================================================
class Window_KiraTalkList < Window_Selectable
  attr_reader :help_window
 
  def initialize(x, y)
    @data = $game_party.members.reject { |actor| KIRA::TalkMenu::EXCLUDED_ACTOR_IDS.include?(actor.id) }
    window_height = [KIRA::TalkMenu::LIST_VISIBLE_ROWS, @data.size].min * item_height + standard_padding * 2
   
    super(x, y, KIRA::TalkMenu::WINDOW_WIDTH, window_height)
    self.select(0)
    refresh
    activate
    update_help
  end
 
  def help_window=(help_window)
    @help_window = help_window
    update_help
  end

  def update_help
    if @help_window && selected_actor
      @help_window.update_text(selected_actor)
    end
  end
 
  def refresh
    create_contents
    draw_all_items
  end

  def item_max
    @data ? @data.size : 0
  end

  def item_height
    line_height
  end

  def selected_actor
    @data[index] if index && index >= 0
  end

  def draw_item(index)
    return unless @data && index < @data.size
    actor = @data[index]
    return unless actor
   
    rect = item_rect(index)
    rect.width -= 16
    draw_text(rect.x + 8, rect.y, rect.width, rect.height, actor.name)
  end
 
  def process_handling
    super
  end
 
  def process_cursor_move
    last_index = @index
    super
  end
end

Thanks for that ! I will see if it can help me 😍
Alternatively, I think Soulpour777's Phantasy Star IV Talk System does what you want, but the script is stored on rpgmaker.net (which is down), I used it in an old project but I also modified the code a long time ago so it might not do exactly what the original script did. Here is my modified script (if reposting it is not okay I will remove it):

Ruby:
# ---------------------------------------------------------------------------- #
# Phantasy Star IV Talk System (By Common Events)
# By: SoulPour777
# Requested by: Silencher
#
# (code modified by Timtrack)
# Create a menu that will call common event COMMON_EVENT after having selected
# the actor through the main menu.
#
# ---------------------------------------------------------------------------- #

module CALL_EVENT_MENU
  COMMON_EVENT = 5 #the id of the common event called
  STORE_ACTOR_VAR = 10 #the id of the variable storing the selected actor id
  CONTROL_SWITCH = 21 #the id of the swicth that set to true will deactivate the option, set it to 0 if you don't want to use it
 
  COMMAND_NAME = "Discuter"
end

class Window_MenuCommand < Window_Command
  alias soul_ce_add_original_commands add_original_commands
  def add_original_commands
    add_command(CALL_EVENT_MENU::COMMAND_NAME, :common_events_menu,   ce_command_enabled)
    soul_ce_add_original_commands
  end
 
  def ce_command_enabled
    $game_party.members.size >= 2 && (CALL_EVENT_MENU::CONTROL_SWITCH <= 0 || !$game_switches[CALL_EVENT_MENU::CONTROL_SWITCH])
  end
end

class Scene_Menu < Scene_MenuBase
  #--------------------------------------------------------------------------
  # * Create Command Window
  #--------------------------------------------------------------------------
  alias soul_create_command_window create_command_window
  def create_command_window
    soul_create_command_window
    @command_window.set_handler(:common_events_menu, method(:command_ce))
  end
 
  def command_ce
    @status_window.select_last
    @status_window.activate
    @status_window.set_handler(:ok,     method(:on_command_ce_ok))
    @status_window.set_handler(:cancel, method(:on_personal_cancel))
  end
 
  def on_command_ce_ok
    $game_variables[CALL_EVENT_MENU::STORE_ACTOR_VAR] = $game_party.members[@status_window.index].id
    SceneManager.goto(Scene_Map)
    $game_temp.reserve_common_event(CALL_EVENT_MENU::COMMON_EVENT)
  end
end

When selecting the command, you can then select the actor in the same menu as you would select them for items or equipment.

In my common event that is called, I check the id stored in variable STORE_ACTOR_VAR which is the selected actor and do a conditional branch for each selected actor. I then reopen the menu manually (since I left it in the script)

1745563319664.png
1745563401983.png
Alternatively, I think Soulpour777's Phantasy Star IV Talk System does what you want, but the script is stored on rpgmaker.net (which is down), I used it in an old project but I also modified the code a long time ago so it might not do exactly what the original script did. Here is my modified script (if reposting it is not okay I will remove it):

Ruby:
# ---------------------------------------------------------------------------- #
# Phantasy Star IV Talk System (By Common Events)
# By: SoulPour777
# Requested by: Silencher
#
# (code modified by Timtrack)
# Create a menu that will call common event COMMON_EVENT after having selected
# the actor through the main menu.
#
# ---------------------------------------------------------------------------- #

module CALL_EVENT_MENU
  COMMON_EVENT = 5 #the id of the common event called
  STORE_ACTOR_VAR = 10 #the id of the variable storing the selected actor id
  CONTROL_SWITCH = 21 #the id of the swicth that set to true will deactivate the option, set it to 0 if you don't want to use it
 
  COMMAND_NAME = "Discuter"
end

class Window_MenuCommand < Window_Command
  alias soul_ce_add_original_commands add_original_commands
  def add_original_commands
    add_command(CALL_EVENT_MENU::COMMAND_NAME, :common_events_menu,   ce_command_enabled)
    soul_ce_add_original_commands
  end
 
  def ce_command_enabled
    $game_party.members.size >= 2 && (CALL_EVENT_MENU::CONTROL_SWITCH <= 0 || !$game_switches[CALL_EVENT_MENU::CONTROL_SWITCH])
  end
end

class Scene_Menu < Scene_MenuBase
  #--------------------------------------------------------------------------
  # * Create Command Window
  #--------------------------------------------------------------------------
  alias soul_create_command_window create_command_window
  def create_command_window
    soul_create_command_window
    @command_window.set_handler(:common_events_menu, method(:command_ce))
  end
 
  def command_ce
    @status_window.select_last
    @status_window.activate
    @status_window.set_handler(:ok,     method(:on_command_ce_ok))
    @status_window.set_handler(:cancel, method(:on_personal_cancel))
  end
 
  def on_command_ce_ok
    $game_variables[CALL_EVENT_MENU::STORE_ACTOR_VAR] = $game_party.members[@status_window.index].id
    SceneManager.goto(Scene_Map)
    $game_temp.reserve_common_event(CALL_EVENT_MENU::COMMON_EVENT)
  end
end

When selecting the command, you can then select the actor in the same menu as you would select them for items or equipment.

In my common event that is called, I check the id stored in variable STORE_ACTOR_VAR which is the selected actor and do a conditional branch for each selected actor. I then reopen the menu manually (since I left it in the script)

View attachment 338598View attachment 338599
Oh waw thanks a lot french mate this would be very useful !
@Kiranyaki and @Timtrack , those look like cool scripts that might be useful in a future project :LZSproud:. What are your terms? Can they be used in commercial projects?
Kiranyaki and Soulpour scripts do the same thing just different visual styles and Kiranyaki has exceptions (e.g. you won't get the opinion of a party member based on a hash). Though please be aware Soulpour has a reputation.
@Kiranyaki and @Timtrack , those look like cool scripts that might be useful in a future project :LZSproud:. What are your terms? Can they be used in commercial projects?
Free and Credit!
Though please be aware Soulpour has a reputation.
Thanks for the heads-up, @Archeia .
Thanks a lot @Archeia , I had no idea about Soulpour's reputation and I feel conflicted about the script. I like how it is done (having a uniform actor selection system), it is also a very simple code that I understand so I feel like if I were to code it 'from scratch' I would be biased towards doing the same thing ahah.

I have no access to the original code (except a few commented lines still in my old project, damn 5 years ago me), I know that the original used a global variable $common_event_number instead and I am fairly sure I defined the module constants. The script was also using a bit more lines of code, since I have no access to the original code, I cannot tell exactly what I've changed.

Hence, I cannot provide confidently a term of uses except that my contributions do not require credit neither in commercial or non-commercial projects.

EDIT: it seems Soulpour's script is also available here https://forums.rpgmakerweb.com/inde...common-event-as-an-option-in-the-menu.147812/
So it turns out it was just a call common_event script from the main menu and I added the selection part along with variables. I probably took inspiration from the vanilla scripts for comparison to select actors though I don't remember. If that is okay with you I will rewrite the script I provided and claim it under my conditions (which are free for bother commercial/non-commercial and credit not mandatory in this case).
I went a bit overboard and decided to have some fun, so recoded the script (it is at its core the same thing) and it allows you to select multiple actors before calling the event, you can control how many actors to pick by setting the length of ACTOR_VARIABLES in module SelectActorCEM. Since I took some time, my term of use here will require credit, but it still free for both commercial and non-commercial projects!

Ruby:
#==============================================================================
# Select Actor Common Event Menu
#------------------------------------------------------------------------------
# Author: Timtrack
# date: 26/04/2025
#
# source of discussion:
# https://forums.rpgmakerweb.com/index.php?threads/add-a-opinion-menu-to-the-pause-menu.177149/page-2
#==============================================================================

$imported = {} if $imported.nil?
$imported["TIM-SelectActorCEM"] = true

#==============================================================================
# Adds a common event command in the main menu that will first ask to select a list of actors in
# the menu. Then, the command will call the common event with id COMMON_EVENT
#
# The ids of the actors selected are stored in the variables with ids
# ACTOR_VARIABLES.
# For instance, if ACTOR_VARIABLES = [4,2,5], then 3 actors must be selected,
# the first one is stored in $game_variables[4], the second one in $game_variables[2]
# and the third one in $game_variables[5].
#
# If ACTOR_VARIABLES = [], then the script directly calls the common event
#==============================================================================
# Terms of use: free for commercial and non-commercial projects
#==============================================================================

#==============================================================================
# SelectActorCEM -> set up the parameters here
#==============================================================================
module SelectActorCEM
  COMMON_EVENT = 5 #the id of the common event called
  CMD_NAME = "Talk" #the name of the menu command
 
  #the id of the switch that, set to true will deactivate the command,
  #put <= 0 value to disable this feature
  CONTROL_SWITCH = 0
  #list the ids of the variables that are altered by an actor input,
  #first variable stores first selected actor, second one the second etc.
  ACTOR_VARIABLES = [10]
 
  #--------------------------------------------------------------------------
  # new method: select_allowed?
  # Return true iff picking actor_id as the ith selected actor is ok
  # By default, will forbid to pick the same actor twice
  #--------------------------------------------------------------------------
  def self.select_allowed?(actor_id, i)
    return false if ACTOR_VARIABLES.slice(0,i).any?{|v| $game_variables[v] == actor_id} #exclude already picked actors
    #put addtionnal chekings here
    true
  end
end #SelectActorCEM

#==============================================================================
# Window_MenuCommand -> adds the command to the list in the menu
#==============================================================================
class Window_MenuCommand < Window_Command
  #--------------------------------------------------------------------------
  # alias method: add_original_commands
  #--------------------------------------------------------------------------
  alias sacem_add_original_commands add_original_commands
  def add_original_commands
    add_command(SelectActorCEM::CMD_NAME, :common_events_menu,   sacem_command_enabled)
    sacem_add_original_commands
  end
 
  #--------------------------------------------------------------------------
  # new method: sacem_command_enabled
  #--------------------------------------------------------------------------
  #the command won't be available if there are less party members than variables to fill
  def sacem_command_enabled
    $game_party.members.size >= SelectActorCEM::ACTOR_VARIABLES.size && (SelectActorCEM::CONTROL_SWITCH <= 0 || !$game_switches[CALL_EVENT_MENU::CONTROL_SWITCH])
  end
end #Window_MenuCommand

#==============================================================================
# Scene_Menu -> sets the results of the command
#==============================================================================
class Scene_Menu < Scene_MenuBase
  #--------------------------------------------------------------------------
  # alias method: create_command_window
  #--------------------------------------------------------------------------
  alias sacem_create_command_window create_command_window
  def create_command_window
    sacem_create_command_window
    @command_window.set_handler(:common_events_menu, method(:command_sacem))
  end
 
  #--------------------------------------------------------------------------
  # new method: command_sacem -> calls the status menu (actor list)
  #--------------------------------------------------------------------------
  def command_sacem
    @select_level = 0 #counts how many times the actors are selected
    return on_command_sacem_ok if SelectActorCEM::ACTOR_VARIABLES.empty?
    @status_window.sacem_mode = true
    @status_window.select_last
    @status_window.activate
    @status_window.set_handler(:ok,     method(:on_command_sacem_ok))
    @status_window.set_handler(:cancel, method(:on_command_sacem_cancel))
  end
 
  #--------------------------------------------------------------------------
  # new method: on_command_sacem_ok -> adds the actor_id to the variable
  # and call the event if all actors are selected or ask for the next actor
  #--------------------------------------------------------------------------
  def on_command_sacem_ok
    if @select_level < SelectActorCEM::ACTOR_VARIABLES.size
      actor_id = $game_party.members[@status_window.index].id
      $game_variables[SelectActorCEM::ACTOR_VARIABLES[@select_level]] = actor_id
      @select_level += 1
      @status_window.pending_list.push(@status_window.index)
      @status_window.redraw_item(@status_window.index)
    end
    #when all actors are selected -> call the common_event
    if @select_level >= SelectActorCEM::ACTOR_VARIABLES.size
      @status_window.pending_list.clear
      @status_window.sacem_mode = false
      SceneManager.goto(Scene_Map)
      $game_temp.reserve_common_event(SelectActorCEM::COMMON_EVENT)
    else #There are still actors to pick
      @status_window.activate
    end
  end
 
  #--------------------------------------------------------------------------
  # new method: on_command_sacem_cancel -> cancels the last selected actor
  # or return to the previous menu if stack is empty
  #--------------------------------------------------------------------------
  def on_command_sacem_cancel
    if @select_level <= 0
      @status_window.sacem_mode = false
      return on_personal_cancel
    end
    @select_level -= 1
    @status_window.select(@status_window.pending_list.pop)
    @status_window.redraw_item(@status_window.index)
    @status_window.activate
  end
end #Scene_Menu

#==============================================================================
# Window_MenuStatus -> highlight selected actors and controls which can be selected
#==============================================================================
class Window_MenuStatus < Window_Selectable
  attr_accessor :sacem_mode #boolean to activate under this script selection
  attr_reader :pending_list #stores index in the list that are pending
  #--------------------------------------------------------------------------
  # alias method: initialize
  #--------------------------------------------------------------------------
  alias sacem_winmenu_status_init initialize
  def initialize(x, y)
    @sacem_mode = false
    @pending_list = []
    sacem_winmenu_status_init(x,y)
  end
  #--------------------------------------------------------------------------
  # alias method: draw_item_background
  #--------------------------------------------------------------------------
  alias sacem_draw_item_background draw_item_background
  def draw_item_background(index)
    contents.fill_rect(item_rect(index), pending_color) if @pending_list.include?(index)
    sacem_draw_item_background(index)
  end
  #--------------------------------------------------------------------------
  # alias method: current_item_enabled?
  #--------------------------------------------------------------------------
  alias sacem_current_item_enabled? current_item_enabled?
  def current_item_enabled?
    return sacem_current_item_enabled? && (!sacem_mode || SelectActorCEM.select_allowed?($game_party.members[index].id,@pending_list.size))
  end
end #Window_MenuStatus

Original thread: https://forums.rpgmakerweb.com/threads/add-a-opinion-menu-to-the-pause-menu.177149/