• You've discovered RedGuides 📕 an EverQuest multi-boxing community 🛡️🧙🗡️. We want you to play several EQ characters at once, come join us and say hello! 👋
  • IS THIS SITE UGLY? Change the look. To dismiss this notice, click the X --->

Question - MQ command to target a bag to sell its contents. (1 Viewer)

yes im trying to figure out the command to target the bag so i can then figure out the command to press sell thus selling the contents all at once.
writing a macro or at least trying to :)
 
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