• 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 - Need help fixing/changing this maco

Hi, I don't know enough about programing to be able to figure this out for myself, but I've been using this macro for skilling up my pottery.

The only thing is it doesn't seem to destroy the item on the cursor, and it's something I'd like it do.

Rich (BB code):
#event OutOfStuff "Sorry, but you don't have everything you need for this recipe in your general inventory." 
  
Sub Main 
:Loop 
 
:ClearCursor 
/if (${Cursor.ID}) { 
/if (${Cursor.ID}==16925) /destroy
/autoinventory 
/goto :ClearCursor 
} 
 
/notify TradeskillWnd CombineButton leftmouseup 
/doevents
/call delete_item
/delay 2
/notify TradeskillWnd AutoInvButton leftmouseup
/goto :Loop 
/return 
 
Sub Event_OutOfStuff 
/endmacro 
/return

Sub delete_item
/delay 1s
/if (${Cursor.ID}==9686) /destroy
/return
 
/if (${Cursor.ID}) {
/if (${Cursor.ID}==16925) /destroy
/autoinventory
/goto :ClearCursor
}

Change it to
/if (${Cursor.ID}) {
/if (${Cursor.ID}) /destroy
/autoinventory
/goto :ClearCursor
}

also

/if (${Cursor.ID}==9686) /destroy

change to

/if (${Cursor.ID}) /destroy

You're trying to destroy a certain item so if its not that item it wont do anything. The changes will make it destroy any item that ends up on the cursor.
 
be careful using that because if u pick up a bag you will delete it. I would keep the id set and change it to the ID of item you need destroyed, inspect the item scroll to bottom and find the ID number and replace the number located here /if (${Cursor.ID}==16925) , this will keep you from having a bad day and destroying something you dont want to destroy
 
Request - Need help fixing/changing this maco

Users who are viewing this thread

Back
Top
Cart