# TotalControl for LSL

![](https://nyc3.digitaloceanspaces.com/smartbots-docs/uploads/20adbcf8-a916-46eb-b77b-ad6944665550/3b61b31b-0d9f-4d07-85be-ed892db28b5a/Totalcontrol-about.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=DO801JV4MUMY3YAEJCWC%2F20261113%2Fnyc3%2Fs3%2Faws4_request&X-Amz-Date=20261113T140000Z&X-Amz-Expires=86400&X-Amz-Signature=5f5d7a43202dbcafa3d63c9bf49ced56418d9cdd77bb5ed9a0ba17cf65681e45&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/3ac97a59-bf14-40c1-823c-982c37f2def3).

## TotalControl examples

Usage examples are available at the [examples page](/doc/62829c23-2c56-4cff-9882-56f1124de91a).

---

**Documents**

- [Commands](https://www.mysmartbots.com/docs/s/dev/doc/commands-PdMhbuKO3s)
- [Events](https://www.mysmartbots.com/docs/s/dev/doc/events-vgw8mSgvsb)
- [Examples](https://www.mysmartbots.com/docs/s/dev/doc/examples-oj7vax2z28)
- [Usage](https://www.mysmartbots.com/docs/s/dev/doc/usage-2HLIOckZ0g)