# group_role_activate

Changes the bot’s active group tag/title to the specified role UUID.

```csharp
// See "LSL Helper Functions" page for this function
smartbotsAPI("group_role_activate", [
  "groupuuid", "0b65a122-8f77-64fe-5b2a-225d4c490d9c",
  "roleuuid", "00000000-0000-0000-0000-000000000000"
]);
```

```snippet http-api-variables-OmJyUigTgO
```

```snippet http-api-input-basic-parameters-5FcVlaJbq0 action="group_role_activate"
```

```snippet http-api-input-q5yvAagqsZ
groupuuid | yes | UUID of the group
roleuuid  | yes | UUID of the role to activate (use `00000000-0000-0000-0000-000000000000` for “Everyone”)
```

```snippet http-api-output-JAwUcmg7i7
```

# Example

Activate the “Everyone” group role tag:

```csharp
// See "LSL Helper Functions" page for this function
smartbotsAPI("group_role_activate", [
  "groupuuid", "0b65a122-8f77-64fe-5b2a-225d4c490d9c",
  "roleuuid", "00000000-0000-0000-0000-000000000000"
]);
```