• 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

Release Multidrag.mac [Deleted]

Status
Not open for further replies.

kaen01

I am not a complete idiot!..some parts are missing
Creator
Tired of trying to pull your wiped 18+ teams to safety for a little bit of rezzing?
Dislike using the /corpsedrag on your box team?

then worry not!

Multidrag to the rescue.
Rich (BB code):
|**
┌│┐└┘├┤─
┌────────────────────────────────────────┐
│ MultiDrag.mac v1.0 - kaen01 03/16/2018 │
├────────────────────────────────────────┤
│ Start it, then go do your corpse run.     │
│ Once it get within range of pc corpse     │
│ it will try and summon it.             │
│                                         │
│ Upcoming plans:                         │
│                                         │
│ *Ignore corpses that you havent rights │
│  to summon, after first attempt.         │
│                                         │
│ *Only Summon groupmebers/raidmember     │
│                                         │
│ NB: dont move too fast around corners. │
└────────────────────────────────────────┘
**|


Sub Main
    /declare Corpses        int        outer    0
    /declare CorpseSearch    string    outer    pc corpse radius 90
    /declare CurCorpse        string    outer    NULL
    /declare i                int        outer    0

    /echo [Multi Drag Corpse]
    /while (1) {
        /varset Corpses ${SpawnCount[${CorpseSearch}]}
        /if (${Corpses}) {
            /for i 1 to ${Corpses}
                /varset CurCorpse ${NearestSpawn[${i},${CorpseSearch}]}
                /SetChatTitle ***/corpse ${CurCorpse}***
                /target ${CurCorpse}
                /delay 5 ${Target.ID} == ${NearestSpawn[${i},${CorpseSearch}].ID}
                /corpse
                /delay 2
            /next i
        } else {
            /delay 5
        }
    }

    :OnExit
        /echo [Done dragging corpses}
        /SetChatTitle [MQ2]
/return

use it as you see fit.

the /delay 2, after /corpse is there so it looks more natural, no delay was like madness, and delay 1 was spammy, but /delay 2 seemed about the same as you could get out of a social,
so thats what we settled on.
 
Last edited by a moderator:
Did you steal noobhaxor's macro?

Rich (BB code):
|----------
|Drag every corpse within 100 unit radius

#Event Denied         "#*#You do not have consent#*#"

Sub Main
/declare numcorpses int outer 0
/declare loopcorpse1 int outer 1
/declare loopcorpse2 int outer 1
/declare badcorpseid int outer 0

/call FindCorpses

:mainloop
/for loopcorpse2 1 to ${Corpse2Drag.Size}
   /if (${Spawn[id ${Corpse2Drag[${loopcorpse2}]}].Distance}>25) {
       /doevents flush 
       /tar id ${Corpse2Drag[${loopcorpse2}]}
       /delay 5 ${Target.ID}==${Corpse2Drag[${loopcorpse2}]}
       /cor
       /doevents
    }
/next loopcorpse2
/if (${SpawnCount[pccorpse radius 100]}==0) {
    /echo No corpses found ending macro
    /end
}
/goto :mainloop

/return

Sub FindCorpses
    /varcalc numcorpses ${SpawnCount[pccorpse radius 100 notid ${badcorpseid}]}
    /declare Corpse2Drag[${numcorpses}] int outer
    /for loopcorpse1 1 to ${numcorpses}
        /varset Corpse2Drag[${loopcorpse1}] ${NearestSpawn[${loopcorpse1}, pccorpse radius 100 notid ${badcorpseid}].ID}
    /next loopcorpse1
/return

Sub Event_Denied
    /varset badcorpseid ${Target.ID}
    /call FindCorpses
/return
 
nah, i started up with an old drag.mac from 2004, then well i ended up only keeping the /return and sub main
 
Release Multidrag.mac [Deleted]
Status
Not open for further replies.

Users who are viewing this thread

Back
Top
Cart