• 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

Macro question...

Sosafina

New member
Any help would be appreciated. I've kinda taken the macro moonspell made and instead of having it /sumcorpse i just have it /corpse (so it pulls it instead)

Now here is the part i need help with...
------------------
sub event_startCR
:recoveryLoop
/tar corpse next
/corpse
/goto :recoveryLoop
------------------
The problem is, that if it targets a next corpse that is too far, it will try to /corpse (drag it) but it says its too far, and it wont target a next corpse until i pull it, but if i run around it leaves all the others behind.... How do i set it so that if a corpse is too far to pull it will automatically target a next corpse?
 
Rich (BB code):
#event toofar "#*# whatever the hell the error message is #*#"

sub event_startCR
:recoveryLoop
/tar corpse next
/corpse
/doevents
/goto :recoveryLoop

sub event_toofar
/tar corpse next
/return

Maybe? Don't know if that'll work.
 
I'm new tone, lol. No clue where to add that. This is what the macro looks like...

| Instant Raid Wipe Corpse Recovery
| A simple Moonspell creation for
| redguides.com

| This plugin requires the plugin
| mq2csum.

#turbo
#event startCR "#*#Get Bodies#*#"

sub Main
/echo <<<< Instant CR Macro Running >>>>
/delay 1
/echo Type "Get Bodies" to commence your CR.
/delay 1
/echo Type /end when you have all the bodies.

:loopy
/doevents
/goto :loopy

sub event_startCR
:recoveryLoop
/tar corpse next
/corpse
/goto :recoveryLoop
 
Rich (BB code):
| Instant Raid Wipe Corpse Recovery
| A simple Moonspell creation for
| redguides.com

| This plugin requires the plugin
| mq2csum.

#turbo
#event startCR "#*#Get Bodies#*#"

sub Main
/echo <<<< Instant CR Macro Running >>>>
/delay 1
/echo Type "Get Bodies" to commence your CR.
/delay 1
/echo Type /end when you have all the bodies.

:loopy
/doevents
/goto :loopy

sub event_startCR
:recoveryLoop
/tar corpse next
/if (${Target.Distance}>200}) /goto :recoveryLoop
/corpse
/goto :recoveryLoop

God I'm an idiot today...there you go.
 
Just use something like this
Rich (BB code):
#event bodies "[MQ2] start"

Sub Main
/declare rmember int outer
/echo type /echo start
:loop
/doevents
/goto :loop
/return

Sub event_bodies
/for rmember 0 to ${Raid.Members}
/target ${Raid.Member[${rmember}]}'s corpse
/if (${Target.Distance}>150) {
/next rmember
} else {
/corpse
}
/next rmember
/return
 
Macro question...

Users who are viewing this thread

Back
Top
Cart