• 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

auto loot

buckeyesfan1

New member
Joined
Apr 6, 2006
RedCents
10¢
is there a simple macro that I could use when I take rez that will loot all my stuff? Thanks..
 
MQ2Cursor is the only nonMQ2-VIP thing I can think of. Once you set it to loot for you, you just need to take the rez, open your corpse, and it loots everything.

If you have MQ2VIP access, the info in this thread should give you all that you need.
 
here's what I used, its a chopped up version of the original wait4rez.inc

Rich (BB code):
Sub Main
/if (!${Defined[t]})         /declare t         int outer 0
/if (!${Defined[loottotal]}) /declare loottotal int outer
/if (!${Defined[lootslot]})  /declare lootslot  int outer
/if (!${Defined[lootleft]})  /declare lootleft  int outer 0
/target mycorpse
/call Loot
/return

Sub Loot
:corpsepull
/corpse
/if (${Target.Distance}>20) {
/plugin mq2csum
/sumcorpse
/delay 2s
/goto :corpsepull
}
/if (${Target.CleanName.Equal[${Me}'s corpse]}) {
  /loot
} else {
  /return
}
/delay 5s ${Me.State.Equal[BIND]}
/if (${Me.State.NotEqual[BIND]}) /goto :corpsepull
/varset loottotal 0
:LootLag
/if (${loottotal}!=${Corpse.Items}) {
  /varset loottotal ${Corpse.Items}
  /delay 1s
  /goto :LootLag
}
/if (${loottotal}<=${lootleft}) {
  /notify LootWnd DoneButton leftmouseup
  /return
}
/varset loottotal ${Math.Calc[${Corpse.Items}-${lootleft}]}
/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
}
/if (${Math.Calc[${Corpse.Items}-${lootleft}]}>0) /goto :LootLag
:DoneLooting
/notify LootWnd DoneButton leftmouseup
/return
 
MQ2Cursor is by far the best method in my opinion. No need to run a macro. When you loot your corpse, you can set MQ2Cursor to loot everything on your body. You can find it in RedQuest's compile.
 
auto loot

Users who are viewing this thread

Back
Top
Cart