• Hail, we're RedGuides. We want you to play six (yes, 6!) EverQuest characters at once. We have scripts and a friendly community to help, please join our playstyle and say hello! 👋
  • We've added LLM sections to our Terms & Rules and Resource Rules, for everyone's sanity & in-game safety.
    Read more
    a. Do not replace your voice with an LLM. This goes for your posts and your scripts. Drafting and editing with a tool is fine, but don't take you out of what you share.
    b. Do not replace your EQ character's voice with an LLM. We don't want scripts that speak over /ooc, /shout or other public channels. This has been an unwritten rule that's kept casino scripts off the site for decades, but we're now compelled to make it clear: keep automated communication private.

    Why Does RG Review Scripts?
    Nearly every LLM-written Lua script we see is making your character do impossible things, and rarely in a way that's beneficial to you. We've seen heavy server hammering, /target over impossible distances when /nav spawn would passively accomplish the same thing, a spawn search that fires 20+ times per second, and other pointless actions that are likely annoying GMs.

    You are welcome to use LLMs as a tool to structure, draft, and edit your work, but please read critically before hitting /lua run

aeloot

groovalistic

New member
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