• 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 - MQ command to target a bag to sell its contents.

Not at computer right now but isn't it /notify slot23 leftmouseup or whatever to select the first bag?
Then a /shift /notify merchantwnd sellbutton leftmouseup or something ?

Sellstuff could be rewritten to just first go over all bag items and put everything into one bag that can be sold and then do this, it would speed up things like a hundred times or more so it's not a bad idea...
 
this is what i have for my bag target script sub

Rich (BB code):
/nomodkey /itemnotify pack6 leftmouseup
/delay 2s
/notify merchantwnd MW_Sell_Button leftmouseup
/delay 2s
/nomodkey /itemnotify pack7 leftmouseup
/delay 2s
/notify merchantwnd MW_Sell_Button leftmouseup
/delay 2s
/nomodkey /itemnotify pack8 leftmouseup
/delay 2s
/notify merchantwnd MW_Sell_Button leftmouseup
/delay 2s
/nomodkey /itemnotify pack9 leftmouseup
/delay 2s
/notify merchantwnd MW_Sell_Button leftmouseup
/delay 2s
/nomodkey /itemnotify pack10 leftmouseup
/delay 2s
/notify merchantwnd MW_Sell_Button leftmouseup

when the merchant window is open it highlights the bag to sell. when the merchant window is not open it will pick the back up
 
You can clean that up with:

Rich (BB code):
/declare i int local
/for i 1 to 10
    /nomodkey /itemnotify pack${i} leftmouseup
    /delay 2s
    /notify merchantwnd MW_Sell_Button leftmouseup
    /delay 2s
/next i

that would do the same thing for bags 1-10. youd mod those as needed or add it into the /call itself.
sell.mac
Rich (BB code):
Sub Main(int bagStart, int bagEnd)
/call Sell ${bagStart} ${bagEnd}
/return

Sub Sell(int bagStart, int bagEnd)
/declare i int local
/for i ${bagStart} to ${bagEnd}
    /nomodkey /itemnotify pack${i} leftmouseup
    /delay 2s
    /notify merchantwnd MW_Sell_Button leftmouseup
    /delay 2s
/next i
/return

Then you could sell a single bag or a range of bags:

/mac sell 1 2

that would sell stuff from bag 1 and 2

/mac sell 3 3

that would sell stuff only in bag 3

/mac sell 1 10
stuff in bag 1-10. you get the idea.
 
Question - MQ command to target a bag to sell its contents.

Users who are viewing this thread

Back
Top
Cart