• 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

Request - Group in Range

nyghteyes

What is a macro??
Is there anything out there to alert you if one of your team or raid is out of a given range of the main force?

If not, is there any interest in such a thing other than my own personal needs?
 
There has been some additions to the Group TLO that make is possible to check for .AnyoneMissing, .Offline, or .OtherZone. Though I do not think any specifically check for that on raids, nor check distance parameters. Though I imagine you could use some code. Something like:

Rich (BB code):
Sub GroupDistanceStatus
	/for i ${Group.Members} downto 1
	/if (${Group.Member[${i}].ID} && ${Group.Member[${i}].Distance}>80) /echo WARNING!! ${Group.Member[${i}].CleanName} is ${Group.Member[${i}].Distance} away!
	/next i	
	/return
	
Sub RaidDistanceStatus
	/for i ${Raid.Members} downto 1
	/if (${Raid.Member[${i}].ID} && ${Raid.Member[${i}].Distance}>80) /echo WARNING!! ${Raid.Member[${i}].CleanName} is ${Raid.Member[${i}].Distance} away!
	/next i	
	/return
 
Last edited:
There has been some additions to the Group TLO that make is possible to check for .AnyoneMissing, .Offline, or .OtherZone. Though I do not think any specifically check for that on raids, nor check distance parameters. Though I imagine you could use some code. Something like:

Rich (BB code):
Sub GroupDistanceStatus
	/for i ${Group.Members} downto 1
	/if (${Group.Member[${i}].ID} && ${Group.Member[${i}].Distance}>80) /echo WARNING!! ${Group.Member[${i}].CleanName} is ${Group.Member[${i}].Distance} away!
	/next i	
	/return
	
Sub RaidDistanceStatus
	/for i ${Raid.Members} downto 1
	/if (${Raid.Member[${i}].ID} && ${Raid.Member[${i}].Distance}>80) /echo WARNING!! ${Raid.Member[${i}].CleanName} is ${Raid.Member[${i}].Distance} away!
	/next i	
	/return

Why are you using downto in your loops and going high low?
 
I was doing a quick copy and paste of a sub I use for zoning groups into an instance, and just edited it slightly to check for distance as an example. And since he asked about raid members as well....it is what poped into my head.

I was sure other folks would speak up with more ways to accomplish this if needed though.

As for downto, in this case I originally wanted the controlling toon to zone last. Seemed easiest to just count down to himself rather then make a special section for him.
 
Request - Group in Range

Users who are viewing this thread

Back
Top
Cart