Page 1 of 1

group check

Posted: Sat Oct 22, 2005 2:20 am
by iam_clint
Is there a way to make a macro check if your target is in your group or not

Posted: Sat Oct 22, 2005 2:25 am
by A_Druid_00
The Fucking Manual wrote:group

Members groupmember Member[n] n is 1 to 5 (0 gives self)
int Member[name] Gives the number, as used above
int Members Total group members, excluding self
groupmember Leader The leader of the group
To String Same as Members
The proper usage is:

Code: Select all

${Group.Member[Name]}

Posted: Sat Oct 22, 2005 2:31 am
by iam_clint
not exactly what i meant to ask...
i am wanting to know if theres not a run around way to check if they are not in your group so you don't have to write a loop to check each group member something like if !${Group.Member} { yada }


[ Although i did find out ${Group.Member[<Target>]} would return a number if they are in your group so if it returns null when their not ]

Posted: Sat Oct 22, 2005 2:33 am
by A_Druid_00
You put the person's name in there and it returns NULL if they aren't in the group, or a # if they're in it. So it's:

Code: Select all

!${Group.Member[JimmyBuffet]}
Edit: I beat your edit, RAWR

Re: group check

Posted: Thu Jan 08, 2026 7:36 am
by xyilla

Re: group check

Posted: Thu Jan 08, 2026 7:37 am
by xyilla

Re: group check

Posted: Thu Jan 08, 2026 7:38 am
by xyilla

Re: group check

Posted: Thu Jan 08, 2026 7:40 am
by xyilla

Re: group check

Posted: Thu Jan 08, 2026 7:41 am
by xyilla

Re: group check

Posted: Thu Jan 08, 2026 7:42 am
by xyilla

Re: group check

Posted: Thu Jan 08, 2026 7:44 am
by xyilla

Re: group check

Posted: Thu Jan 08, 2026 7:45 am
by xyilla

Re: group check

Posted: Thu Jan 08, 2026 7:46 am
by xyilla

Re: group check

Posted: Thu Jan 08, 2026 7:48 am
by xyilla