• 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

Autoloot command?

Is there a command in EQ that I can use in a social to automatically loot mobs? If not is there a plugin or macro that will allow me to target and autoloot mobs that I have killed? I don't want to loot from mobs across the zone or steal loot from mobs that I havn't killed. I just want a simple one button macro or social to loot whatever my mob has on it.

Thanks in advance for any insight provided.
 
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


This is what i use. Dont remember where i got it from but its not mine. I think siddin wrote it
 
I am trying to understand the macro that "someoneorsomething" provided. I'm not a programer by any stretch of the imgaination but, it looks to me that it loots my corpse after I've died. I'm gonna play with it a bit because that might be handy too.

However, I am interested in command or macro that will loot a mob's corpse that I have killed. Currently I use a social hotbutton that will target the closest corpse, /target corpse, and open the loot window, /loot. I'd like to be able to take the next step and automatically loot the corpse without clicking on every item.
 
Autoloot command?

Users who are viewing this thread

Back
Top
Cart