# BOT_RESET_TOTALCONTROL

Invokes `llResetScript()` for the TotalControl script.

```csharp
llMessageLinked(LINK_SET, BOT_RESET_TOTALCONTROL, "", NULL_KEY);
```

## Variables

The following table shows input values (you send them with the API call) and returned output values.

| **Variable** | **Description** |
|----------|-------------|
| `str`    | —           |
| `id`     | —           |


---

## Comments

This command completely resets the **TotalControl** script — for example, after an object owner change.  
It effectively calls `llResetScript()` for the TotalControl script.


:::info
Don’t forget to issue the `"BOT_SETUP_SETBOT"` command afterwards.

:::


---

## Example

```csharp
integer BOT_RESET_TOTALCONTROL = 9997770;

default
{
	on_rez(integer param)
	{
		llMessageLinked(LINK_SET, BOT_RESET_TOTALCONTROL, "", NULL_KEY);
	}
}
```