# BOT_RESET_TOTALCONTROL

Invokes `llResetScript()` for the TotalControl script.

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

```snippet totalcontrol-variables-EsRYwBUh4J
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);
	}
}
```