• 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

Died? Need to Loot your OWN corpse? Here you go

Jinx

Member
I didn't get a chance to thank you Tomb before the thread was closed. Plus I figured someone would need it as well.

This is for looting your own corpse. Saves some time clicking each item. Do not reply with anyother subjects regarding looting any other corpses.

I couldn't figure out how to paste this in a text box sorry.

Also thank you to who ever created this macro Tomb and myself couldn't find original creator. Credit should be given to him/her.

Enjoy

Copy the text into notepad and save it as loot.mac. Put the file in your macro folder.
---------------------------------------------------------------------------------
Rich (BB code):
**|

| --------------
| -- Main Sub --
| --------------
Sub Main
/declare t int outer 0
/declare loottotal int outer
/declare lootslot int outer
/declare lootleft int outer 0
/if (!${Defined[Param0]}) {
} else {
/varset lootleft ${Param0}
}
/tar corpse
/loot
| -----------------
| -- Count items --
| -----------------
/delay 3s
:LootLag
/if (${loottotal}!=${Corpse.Items}) {
/varset loottotal ${Corpse.Items}
/delay 2s
/goto :LootLag
}
/if (${loottotal}<=${lootleft}) {
/notify LootWnd DoneButton leftmouseup
/return
}
/varset loottotal ${Math.Calc[${Corpse.Items}-${lootleft}]}
| ---------------------
| -- Loot the corpse --
| ---------------------
/for lootslot 1 to ${loottotal}
:LootItem
/itemnotify loot${lootslot} rightmouseup
/delay 5 !${Corpse.Item[${lootslot}].ID}
/if (!${Corpse.Item[${lootslot}].ID}) {
/next lootslot
} else {
/goto :LootItem
}
| -----------------
| -- Doublecheck --
| -----------------
/if (${Math.Calc[${Corpse.Items}-${lootleft}]}>0) /goto :LootLag
/notify LootWnd DoneButton leftmouseup
/return

edit: cool thx Pugs
 
Last edited:
I just trimmed the fat (i.e. consenting and waiting for rez loop with 'yes' click etc.) out of wait4rez.inc and turned it into a macro to accomplish the same thing. It works great and I use it daily.
 
Alot of that junk falls to the bottom of the forums though... people die with frequency, it's good to see this surfacing... I personally haven't used any rez inc or mac for a long time, but now that one is conveniently available, i may use it.

thx jinx =)
 
Died? Need to Loot your OWN corpse? Here you go

Users who are viewing this thread

Back
Top
Cart