• 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

Request - LOOKING FOR A SIMPLE MACRO TO EMPTY A GUILD BANK OUT

For inspiration You can use this quickie I whipped up a while ago:

Rich (BB code):
|gbank.mac by playj for RG
|change guild bank items permission to public view
|v0.01 2015
|Usage: Have Open Guild Bank Window and /mac gbank number where number is number of items to change with the default being 5
|for example /mac gbank 7 will attempt to change first 7 items in bank
|currently the macro will change the first item in bank so you need to sort items by Permission so items needing changing are at the top
|change /notify GuildBankWnd GBANK_PermissionCombo listselect 4 to 3 if you want Public If Usable

Sub Main

	/declare i int local
	/declare BankCount int local 5
	/if (${Param0}) /varset BankCount ${Param0}
	/echo changing ${BankCount} items in bank to public view
	
	/for i 1 to ${BankCount}
		
		|/notify GuildBankWnd GBANK_ItemList listselect ${i}
		/notify GuildBankWnd GBANK_ItemList listselect 1
		/delay 7
		/notify GuildBankWnd GBANK_PermissionCombo listselect 4
		/delay 10
	/next i

/return

So what this does currently is simply sets permission to public for a number of items you specify

All you have to do is change
Rich (BB code):
/notify GuildBankWnd GBANK_PermissionCombo listselect 4
to appropriate Withdraw command
I suspect it is something like:
Rich (BB code):
/notify GuildBankWnd GBANK_WithdrawButton LeftMouseUp
To make sure open Guild Bank and then type /window GuildBankWnd in MQ2 window

- - - Updated - - -

It was GBANK_WithdrawButton :),
here's a version which takes out a number of items from guildbank and autoinventories.

Still this still needs a bit of work, as one autoinv should suffice.

Rich (BB code):
|cleanguildbank.mac by playj for RG
|withdraw guild bank items
|v0.02 Jan 2017
|Usage: Have Open Guild Bank Window and /mac cleanguildbank number where number is number of items to withdraw with the default being 5
|for example /mac cleanguildbank 7 will attempt to withdraw first 7 items in bank

Sub Main

	/declare i int local
	/declare BankCount int local 5
	/if (${Param0}) /varset BankCount ${Param0}
	/echo changing ${BankCount} items in bank to public view
	
	/for i 1 to ${BankCount}
		
		|/notify GuildBankWnd GBANK_ItemList listselect ${i}
		/notify GuildBankWnd GBANK_ItemList listselect 1
		/delay 30
		/notify GuildBankWnd GBANK_WithdrawButton LeftMouseUp
		/delay 10 ${Cursor.ID}
		/autoinv
		/delay 15 !${Cursor.ID}
		/autoinv
	/next i

/return

EDIT3: the delays can be lowered just that in this quickie version I erred on the safe side.
 
Request - LOOKING FOR A SIMPLE MACRO TO EMPTY A GUILD BANK OUT

Users who are viewing this thread

Back
Top
Cart