• 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

Loot all , Destroy all

VillageIdiot

Member
Joined
Dec 14, 2006
RedCents
291¢
This was made because someone asked for it. I tested it a little and worked great for me.
 
Last edited:
This works, i tested it and worked for me. also added a delay on looting so it will give you a chance to move close enough to target.

Rich (BB code):
|  Created by Villageidiot.
| This macro will loot and destroy everything off of
| a corpse that you kill.
| This version will KEEP NODROP items





#Event loot "You have slain#*#"

sub main


/declare LootTotal int outer 
/declare LootSlot  int outer


:loop

/doevents
/doevents
/doevents
/goto :loop
/return


sub Event_loot

/target corpse
/if (${Target.ID}) {
/moveto ID
/delay 10s ${Target.Distance}<7
/loot 
/delay 1s 
:start
   /if (!${Corpse.Items}) {  
      /notify LootWnd DoneButton leftmouseup
      /return 
   } 
   /varset LootTotal ${Corpse.Items} 
   /for LootSlot 1 to ${LootTotal} 
     /nomodkey /shiftkey /itemnotify loot${LootSlot} leftmouseup 
	 /delay 1s
         /if (${Cursor.NoDrop}) {
		/echo Keeping ${Cursor.Name} because it's NODROP
		/autoinventory
		/next LootSlot
		}
         /echo Destroying ${Cursor.Name}...
         /destroy
         /delay 1s 
   /next LootSlot 
    
   /notify LootWnd DoneButton leftmouseup 
   /delay 2 

/goto :start

/return
 
Loot all , Destroy all

Users who are viewing this thread

Back
Top
Cart