• 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

Looting a (dead) mob

Druid

Member
Joined
May 23, 2005
RedCents
70¢
1) If I have a dead mob, and I've been running around it (i.e., I dont know which way I'm facing atm, but it is inside the circle, circle is about <= 50), and I want to loot it, is it:

/target corpse
/loot


(ignoring the aggro of other mobs, for simplicity)
and that's it? That sounds too simple.

and 2) What shud I put in the if statement to see if I *DO* have a corpse and not a 0% but still alive mob?
 
Loot range is somewhere around 20

You'd have to....
Rich (BB code):
/Target Corpse
/Face 
:MovementLoop
If ${Target.Distance}>20 {
     /keypress Forward Hold
} Else {
     /keypress Forward
     /goto :ExitMovementLoop
}
/Goto :MovementLoop
:ExitMovementLoop
/Loot
/delay 5
/varset loottotal ${Math.Calc[${Corpse.Items}
/for lootslot 1 to ${loottotal} 
/delay 5
:LootItem 
/itemnotify loot${lootslot} rightmouseup
  /delay 5 !${Corpse.Item[${lootslot}].ID} 
   /if (!${Corpse.Item[${lootslot}].ID}) { 
      /next lootslot
} else {
/delay 2
/goto :LootItem
}
/return

...With...

Rich (BB code):
/declare Loottotal int outer
/declare lootslot int outer

...at the start of your macro

Hope that helps.
 
Looting a (dead) mob

Users who are viewing this thread

Back
Top
Cart