• 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 - Looking for common subroutines

Rare Spawn

Well-known member
Looking for some common commands/subroutines, to use in macros. I have been surfing through various author's scripts looking for gold, and found many useful snippets, but I haven't spotted how to:
  1. Waiting for/Checking if all group members are in close range. Like waiting to drop a campfire, or start an event.
  2. Check/wait for everyone to be double invised?
For example, instead of using basic delays, its better to use the TLO for Group.AnyoneMissing, however I didn't see a group TLO for measuring distance.
A side question maybe if I should even use macros, or skip straight to Lua?

Thanks
 
https://docs.macroquest.org/macros/beginners-guide-datatypes/ is a good starting point, but one thing to keep in mind is that your Group Members are Spawns, which it mentions on this page: https://docs.macroquest.org/reference/data-types/datatype-groupmember -- The text "this type inherits members from spawn if the member is in the current zone" means that when your group member is in the current zone, you can use all of the TLOs from "spawn" in addition to the TLOs from Group, which will get you what you want for the first question.

For the second question, you can use dannet or netbots or you can loop through and target each group member. Either way you're going to be checking buffs or SPAs to determine if they are double invis.
 
Question - Looking for common subroutines

Users who are viewing this thread

Back
Top
Cart