• You've discovered RedGuides, an EverQuest multi-boxing and scripting community 🧙‍♀️⚙️. We want you to play several EQ characters at once, come join us and say hello! 👋

  • A TLP without truebox has thawed (Very Vanilla ready)
    Frostreaver

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

Jinx

New member
Joined
Mar 8, 2006
RedCents
20¢
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:
looks good. [ code ] [ /code ] (no spaces) tags are your friend!
 
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 =)
 
I've got this sort of macro trained to fire every time I die, thanks to MQ2Events =D
 
Died? Need to Loot your OWN corpse? Here you go

Users who are viewing this thread

Back
Top
Cart