# SB_RESET_ADMINBOT

Invokes `llResetScript()` for the AdminBot script.

## Command usage

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

## API parameters

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

| Variable | Required | Description |
|----------|----------|-------------|
| 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/sb_setup_setgroup-3NAcXE4AdF) again after the reset.

## Example

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