# SB_COMMAND_COMPLETED

Raised when command execution completes without errors.

## Event usage

```csharp
link_message(integer sender, integer cmd,  string data,  key id) {
    if(cmd == SB_COMMAND_COMPLETED) {
        llOwnerSay("Event " + cmd + " arrived! Data:\n" + data);
    }
}
```

```snippet adminbot-event-parameters-qT43olaMxO event="SB_COMMAND_COMPLETED"
cmd  | integer | the `SB_COMMAND_COMPLETED`'s numeric ID
data | string  | the numeric ID of the command (see command IDs)
id   | key     | not used
```

## Comments

Note that some commands do not generate this event. Instead, they have their own dedicated "success" event (e.g. `SB_SETUP_SETGROUP`).