# SB_SETUP_SETGROUP

Sets the working group. This command **must be called before** using any other AdminBot commands.

## Command usage

```csharp
llMessageLinked(LINK_SET, SB_SETUP_SETGROUP, string str, key id);
```

## API parameters

`llMessageLinked` function accepts `str` and `id` parameters. Their meaning for `SB_SETUP_SETGROUP` is explained below:

| Variable | Required | Description |
|----------|----------|-------------|
| str      | yes      | Name of the group. |
| id       | yes      | Security code for the group. |

## Result

One of the following events will be triggered:

* [`SB_SETUP_SUCCESS`](/doc/sb_setup_success-maE4hOMbrT)
* [`SB_SETUP_FAILED`](/doc/sb_setup_failed-LLqcCiwisK)