# SB_COMMAND_FAILED

Raised when command execution error occurs.

## Event usage

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

```snippet adminbot-event-parameters-qT43olaMxO event="SB_COMMAND_FAILED"
cmd  | integer | the `SB_COMMAND_FAILED`'s numeric ID
data | string  | first line - command status code<br>second line - text explanation
id   | key     | not used
```