• Hail, we're RedGuides. We want you to play six (yes, 6!) EverQuest characters at once. We have scripts and a friendly community to help, please join our playstyle and say hello! 👋
  • We've added LLM sections to our Terms & Rules and Resource Rules, for everyone's sanity & in-game safety.
    Read more
    a. Do not replace your voice with an LLM. This goes for your posts and your scripts. Drafting and editing with a tool is fine, but don't take you out of what you share.
    b. Do not replace your EQ character's voice with an LLM. We don't want scripts that speak over /ooc, /shout or other public channels. This has been an unwritten rule that's kept casino scripts off the site for decades, but we're now compelled to make it clear: keep automated communication private.

    Why Does RG Review Scripts?
    Nearly every LLM-written Lua script we see is making your character do impossible things, and rarely in a way that's beneficial to you. We've seen heavy server hammering, /target over impossible distances when /nav spawn would passively accomplish the same thing, a spawn search that fires 20+ times per second, and other pointless actions that are likely annoying GMs.

    You are welcome to use LLMs as a tool to structure, draft, and edit your work, but please read critically before hitting /lua run

Question - Triggering a pop-out menu?

I'll state up front I'm aware of the /grouproles command, but it's effect isn't applied consistently (especially with regards to mercs).

What I'm looking to do is trigger the Roles pop-out menu and then select one of the roles. This doesn't appear to be a Lua issue specifically, but since that's what I'm writing in, I thought I'd ask here.

Getting a group member menu to appear isn't the issue. mq.TLO.Window("GroupWindow").Child("GW_Gauge1").RightMouseUp() does the job just fine. From there, Something like mq.cmd('/notify \"Roles\" menuselect") isn't effective. I'm guessing because this is a hover pop-out (menuselect works on other menu items such as Show Display). Based on what I'm seeing in the Window Inspector, menus do not appear to have a name. If this is correct, it limits the ability to use mq.TLO.Window("<menu name>").Select.

What am I missing?
 
all i remembered was the old update notes for when menu interaction was put in


Code:
Dec 07 2018 by eqmule
- Updated for BETA
- The following feature has been on my todo list forever and was brought to life by @Knightly, all hail Knightly!
  Thanks for your support.
- Added the ability to interact with menus - cred : Knightly
  Example: /notify "open the door to the lobby" menuselect
  It will search the currently open menu for the words "open the door" and click that menu item if it finds it.
  the search is case insensitive and sub strings are fine
  thus you could just do /notify "open the" menuselect and it would still find and click that item
-
- Added a new TLO: MQ2MenuType it inherits the Window TLO.
  It has 1 method:
    .Select : It will select a menu item (click it)
    usage: /invoke ${Menu.Select[open the door]}
    Output: none, it just clicks that entry if it finds it.
-
  It has 6 members:
    .Address : pIntType it returns the address of the currently open menu.
    .NumVisibleMenus : pIntType it returns number of currently visible menus. Ordinarily this is going to be 1 if a menu is showing and 0 if not
    .CurrMenu : pIntType it returns the index for the currently visible menu. Ordinarily this will be 0 if a menu is open and -1 if not
    .Name : pStringType it returns the name of the menu or the first items name.
    .NumItems = : pIntType it returns number of items in the currently open menu.
    .Items : pStringType it returns the Itemname specified by Index
--  Usage Examples:
--    /echo ${Menu.Name}
    Output: Shabby Lobby Door
    /echo ${Menu.Open} (it inherits Window TLO, remember?)
    Output: TRUE
    /echo ${Menu.NumItems}
    Output: 4
    /echo ${Menu.Items[2]}
    Output: Adjust Placement
- Added some door defines.
 
Question - Triggering a pop-out menu?

Users who are viewing this thread

Back
Top
Cart