• 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

Having Trouble with Add's, mac not registering Agro!

Nosaj23

New member
Ive been trying to write my own mac find snip and what not that will work for me. But Ive been having problem with my mac, if i get a couple add's and my toon get below set Hp for med it tries to med instead of finishing killing then medding. Was hoping someone could point out what I'm doing wrong.

/if (!${agro} & !${Me.Combat}) /goto :med
Is Used to get to the med portion of my mac.

Then Inside the :Med Sub i have these to try and keep it from going to med if agroed.

/if (${Me.Combat}) /goto :main
/if (${Agro}) /goto :main
/if (${Agro} & ${Me.Combat}) /goto :main

Well there what i got im just learning about mac and still lost on alot of stuff so any help is Appreciated!!
 
Ive been trying to write my own mac find snip and what not that will work for me. But Ive been having problem with my mac, if i get a couple add's and my toon get below set Hp for med it tries to med instead of finishing killing then medding. Was hoping someone could point out what I'm doing wrong.

/if (!${agro} & !${Me.Combat}) /goto :med
Is Used to get to the med portion of my mac.

Then Inside the :Med Sub i have these to try and keep it from going to med if agroed.

/if (${Me.Combat}) /goto :main
/if (${Agro}) /goto :main
/if (${Agro} & ${Me.Combat}) /goto :main

Well there what i got im just learning about mac and still lost on alot of stuff so any help is Appreciated!!

Well for one, "agro" isn't a TLO that i know of.

You'd be better off to check your XTarget
this would show if you have aggro on anything.

/if (${Me.XTarget}>=1) /goto :main


assuming your xtarget is all set to auto
 
K Im using Nan.mac for targeting so i have snips like :

/target ${NearestSpawn[NPC noalert ${AlertListVoid}]}

Would It work like this : /if (${Me.Target[NPC noalert ${AlertListVoid}]}>=1) /goto :main


Sry realy dont know SH*T tring to Learn!
 
Here is an add sub I use from one of my tank macros. Will target and attack the mob in xtarget 1 until its dead. Rinse and repeat if more than one add.

Rich (BB code):
/call CheckForAdds

Rich (BB code):
|-------------------------------------------------------------------------
| SUB: Check for adds
|-------------------------------------------------------------------------
Sub CheckForAdds
/if (${Me.XTarget} == 0) /return
	:moreadds
		/delay 5
		/target id ${Me.XTarget[1].ID}
		/attack on
		:killthis
		/if (${Target.ID}=${Me.XTarget[1].ID}) /goto :killthis
	/if (${Me.XTarget} > 0) /goto :moreadds
/return
 
Having Trouble with Add's, mac not registering Agro!

Users who are viewing this thread

Back
Top
Cart