• 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

aeloot

groovalistic

New member
Joined
Feb 27, 2006
RedCents
Relies on MQ2Cursor for handling and MQ2moveutils for the movement...

Basically AE or otherwise mass-kill whatever mobs you farming, then run it.
Once all corpses in range have been looted it'll /end itself

Rich (BB code):
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 radius 50
  /delay 1s
   /loot
   /delay 1s
   :LootLag
   /if (${loottotal}!=${Corpse.Items}) {
      /varset loottotal ${Corpse.Items}
      /goto :LootLag
   }
   /if (${loottotal}<=${lootleft}) {
      /nomodkey /notify LootWnd DoneButton leftmouseupx
   }
   /varset loottotal ${Math.Calc[${Corpse.Items}-${lootleft}]}
   /for lootslot 1 to ${loottotal}
   :LootItem
   /nomodkey /itemnotify loot${lootslot} leftmouseup
   /delay 1s
   /delay 2!${Corpse.Item[${lootslot}].ID}
   /if (!${Corpse.Item[${lootslot}].ID}) {
      /next lootslot
   } else {
     /goto :LootItem
   }
   /if (${Math.Calc[${Corpse.Items}-${lootleft}]}>0) /goto :LootLag
   /nomodkey /notify LootWnd DoneButton leftmouseup
  /delay 2s
   /tar corpse radius 200
/if (${Target.ID}) {
   } else {
/return
}
/if (${Int[${Target.Distance}]}>=15) {
/stick 13
/delay 2s
}

/if (${Int[${Target.Distance}]}<=15) {
/stick off
/loot
/delay 1s
}
/goto :lootlag
/return

If you have lootnodrop confirmation "on" it'll wait for a response, otherwise it'll do everything else. (Unless mq2cursor doesn't know how to handle an item).

If you wish to change the radius it'll loot, just change "corpse radius 200" to whatever distance you want.

Anyway, hope somebody finds this useful :)
I suck with macs so if anyone has some improvement for it, plz post whatever ya did. basics stolen from wait4rez anyway hehe
 
Maybe add some GM or Player checks? Im assuming your warping to the corpses and you wouldnt want a GM to see you warp lol.
 
/if (${Int[${Target.Distance}]}>=15) {
/stick 13
/delay 2s
}

/if (${Int[${Target.Distance}]}<=15) {
/stick off
/loot
/delay 1s
}

It uses MoveUtils, TSP.

Oh yeah, and ${Target.Distance} already returns an int...you don't need to do the ${Int} to it.
 
aeloot

Users who are viewing this thread

Back
Top
Cart