• 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

Group.Members

nyghteyes

What is a macro??
Why would this statement

Rich (BB code):
/declare Toons	int local
/for Toons 0 to ${Group.Members}

/if (${Group.Member[${Toons}].Class.HealerType}) {
/if (${Group.Member[${Toons}].PctMana} < 80) /return
}

return this error

Rich (BB code):
No PC in group matching PctMana

Ive seen similar statements before.....:confused:
 
Why would this statement

Rich (BB code):
/declare Toons	int local
/for Toons 0 to ${Group.Members}

/if (${Group.Member[${Toons}].Class.HealerType}) {
/if (${Group.Member[${Toons}].PctMana} < 80) /return
}

return this error

Rich (BB code):
No PC in group matching PctMana

Ive seen similar statements before.....:confused:

Perhaps you need a .Equals in there, or something like this :

Rich (BB code):
/if (${Group.Member[${Toons}].Class.HealerType.Equals.[True]}) {

or just check for the class specifically :

Rich (BB code):
/if (${Group.Member[${Toons}].Class.ShortName.Equals[CLR]}) {

Best way to test things like is is use ECHO. Make a group and /Echo ${Group.Member[0].Class.HealerType} should return TRUE or FALSE depending on the # (if this statement is correct).

Sorry don't play any longer....or would be more helpful...
 
I'm not completely positive, but I believe to get a group members mana you need to use MQ2Netbots. I know the new UI has added mana for group members, but I'm not sure how to access that through mq2.
 
I could be wrong but according to the MQ2 wiki, the datatype "groupmember" doesn't have the attribute "PctMana".

Also ...
MQ2DataTypes.h said:
static enum GroupMemberMembers
{
Name=1,
Leader=2,
Spawn=3,
Level=4,
MainTank=5,
MainAssist=6,
Puller=7,
Mercenary=8,
};

The core source code also supports my theory.


Good news is that the others are correct, MQ2Netbots adds that TLO, but the Netbot is the one that actually reponds to the command.
 
Netbots typically is used to pass information through EQBC or IRC between bots so they can check other char's information. (IE Pulling checking the healers mana before pulling etc.)
 
Group.Members

Users who are viewing this thread

Back
Top
Cart