get_group_agent()

Returns the ID of the group agent of a specified group.

Synopsis

get_group_agent(group_name)

Description

If has_group_agent = 1 in a group, then this function will return the ID of the group agent created by FRED.

Parameters

<group_name>

A valid group name.

Returns

Returns the ID of a group agent. If the specified group has no group agent, then 0 is returned.

See Also

has_group_agent(), is_group_agent()