• 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

Question - Mez. Memblur & XTarget

To start ... I am playing the Paladin and writing simple macros for Druid, Mage and Enchanter. Basically ..
  1. tell Enchanter to mez xtar #
  2. tell Enchanter to tash xtar #
  3. tell Enchanter to slow xtar #
  4. tell Druid to snare xtar #
  5. tell Mage to send pet @ xtar #
  6. buffing
  7. tell casters to nuke xtar #
I run into a situation that I haven't figured out yet. It only seems to happen when I pull 3+. Assuming Paladin is on xtar # 1, the Paladin tells Enchanter to mez xtar 2. The trouble is what Paladin tells Enchanter to mez xtar # 3.
I have debug statements, so I can see what the Enchanter is targeting (by name) and it looks correct, but my ${Target.Mezzed.Duration.TotalSeconds} has a + value .... when I don't see how it could
The same thing happens with my Druid snare macro.

I believe I have the proper targeting where ${Param0} is the XTarget #
/delay 30s ${Target.ID}==${Me.XTarget[${Param0}].ID}

I thought maybe the Enchanter/Druid XTarget list was different then the Paladins
I thought maybe it had to do with memblur (but that would not affect Druid, right?)

I thought about perhaps NOT having the Paladin tell Enchanter/Druid what XTAR # to target, but get the Target.ID and pass that in the macro, so it wouldn't matter if XTarget lists were different or memblur took a target off Enchanter list.
 
If you have your macro setup right, this ${Me.XTarget[${Param0}].ID} should just be giving the ID number of the mob in the xtar. If you echo it and change it to ${Me.XTarget[2].ID} it will give the ID of the mob in xtar 2.

A simple hot to test it
INI:
/bct Chanter //target ${Me.XTarget[2].ID}
/delay 1s
/bct Chanter //casting "MEZ"

Would need to see the macro to see whats really going on
 
So my Paladin has quite a few hotkeys. There is a Mez 2 one for example ... This hotkey would have the following
/bct Enchanter //mac mez_target 2

Maybe I should be doing this. Can I do this in an EQ hotkey??
/bct Enchanter //mac mez_target ${Me.XTarget[2].ID}

My current mez_target MQ2 macro looks like the following. It accepts an XTarget Position .. ie 1,2,3,4,5

Mez Macro
INI:
#turbo
Sub Main

/echo Dazzle: [${Param0}] ${Me.XTarget[${Param0}].Name}

/target clear
/target id ${Me.XTarget[${Param0}].ID}
/delay 30s ${Target.ID}==${Me.XTarget[${Param0}].ID}

/if (${Target.Mezzed.ID}) {
    /echo [${Param0}] ${Target} is currently ${Target.Mezzed.Name} - ${Target.Mezzed.Duration.TotalSeconds}s Remaining

    /if (${Target.Mezzed.Duration.TotalSeconds}<20) {
        /delay 30s ${Cast.Ready[Dazzle]}
        /g [${Param0}] ${Target} - ${Target.Mezzed.Duration.TotalSeconds} Remaining
        /g Dazzle: [${Param0}] ${Target}
        /casting "Dazzle" -maxtries|3

        /delay 30s !${Me.Casting.ID}
        /if (${Target.Mezzed.ID}) {
            /g [${Param0}] ${Target} is ${Target.Mezzed.Name} - ${Target.Mezzed.Duration.TotalSeconds}s Remaining
        } else {
            /g [${Param0}] ${Target} is NOT Dazzled
        }
    } else {
        /g [${Param0}] ${Target} - ${Target.Mezzed.Duration.TotalSeconds} Remaining
    }
} else {
    /echo [${Param0}] ${Target} is NOT Mezzed
    /delay 30s ${Cast.Ready[Dazzle]}
    /g Dazzle: [${Param0}] ${Target}
    /casting "Dazzle" -maxtries|3

    /delay 30s !${Me.Casting.ID}
    /if (${Target.Mezzed.ID}) {
        /g [${Param0}] ${Target} is ${Target.Mezzed.Name} - ${Target.Mezzed.Duration.TotalSeconds}s Remaining
    } else {
        /g [${Param0}] ${Target} is NOT Dazzled
    }
}

/if (${Target.Mezzed.ID}) {
    /if (${Target.Mezzed.Duration.TotalSeconds}>12) {
        /if (!${Me.Sitting}) /sit on
    }
}

/return
 
Last edited:
Your best bet is to send the ID not the xtar position since the xtar can be different on each character.

try /bct Enchanter //mac mez_target ${Me.XTarget[2].ID} with this added to your macro
INI:
/target clear

/target ${Param0}

/delay 30s ${Target.ID}==${Param0}

the way you have it is going off of your chanters xtarget position not your paladins. I would stick wih using the target ID so you dont have problems with differing positions.
 
Question - Mez. Memblur & XTarget

Users who are viewing this thread

Back
Top
Cart