# TotalControl for LSL

![](https://outline-production-attachments.s3-accelerate.amazonaws.com/uploads/fe746996-bd68-4ba8-a15e-e239ddd741be/47aac410-ac66-4b3e-b95f-475c958e6464/Totalcontrol-about.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=AKIA4EOUDTOVUICLPZ4P%2F20260919%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260919T064500Z&X-Amz-Expires=86400&X-Amz-Signature=1d17c2283e4050b9efa95c7e0b170e1b2a0121b817ad58230335ade2bbd53870&X-Amz-SignedHeaders=host&x-amz-checksum-mode=ENABLED&x-id=GetObject " =874x324")  
SmartBots TotalControl is a script library to control Second Life bot from LSL script.

## Major Features

* Login / Logout your Bot
* Send IMs, chat messages with your Bot
* Send inventory

All you need is to call `llMessageLinked` LSL function:

```csharp
// Send out group invite on touch
touch_start(integer num) {
    llMessageLinked(LINK_SET, BOT_GROUP_INVITE, groupUUID + "\n" + roleUUID, llDetectedKey(0));
}
```

All these features are available out-of-the-box! All you need to is an active personal bot with SmartBots.

## Get TotalControl

Get TotalControl for free in SmartBots Store at the SL Marketplace: [click here](https://marketplace.secondlife.com/p/TotalControl-LSL-Library-for-Second-Life-bots-move-talk-and-much-more/16812622).

## TotalControl reference

All TotalControl commands and events are explained at the [usage page](/doc/usage-fbbDAm6wBC).

## TotalControl examples

Usage examples are available at the [examples page](/doc/examples-hXsET8az4A).

---

**Documents**

- [Usage](https://sb-docs-dev.getoutline.com/s/dev/doc/usage-fbbDAm6wBC)
- [Commands](https://sb-docs-dev.getoutline.com/s/dev/doc/commands-JTCRnw6BK2)
- [Events](https://sb-docs-dev.getoutline.com/s/dev/doc/events-nCWtBhiIc1)
- [Examples](https://sb-docs-dev.getoutline.com/s/dev/doc/examples-hXsET8az4A)