# SB_RESET_ADMINBOT

Invokes `llResetScript()` for the AdminBot script.

## Command usage

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

```snippet adminbot-api-parameters-RxnGv0pgFW command="SB_RESET_ADMINBOT"
str | yes | \--
id  | yes | \--
```

## Comments

The command completely resets the AdminBot script (e.g., after object owner change).  
Invokes `llResetScript()` internally.  
Don't forget to issue [SB_SETUP_SETGROUP](/doc/24beb558-feb9-4229-8928-7ee356094c77) again after the reset.

## Example

```csharp
on_rez(integer param) {
  llMessageLinked(LINK_SET, SB_RESET_ADMINBOT, "", NULL_KEY);
}
```