# P_groupinlist
## Syntax:
@groupinlist**({group}, {list}, {value})**
## Use Case:
Checks whether a value exists in a group-scoped list. Returns "1" if found, "0" if not (case-insensitive).
## Arguments:
- **{group}**: The delegation group name.
- **{list}**: The group list name.
- **{value}**: The value to search for.
## Examples:
1. **/if {@groupinlist(A, targets, Baldy) == 1} {/showme {Baldy is a target!}}**
## See Also:
groupitem, groupcount, G_CrossSessionData
