# Commands

All commands are invoked using the LSL function `llMessageLinked`:

```csharp
llMessageLinked(integer linknum, integer num, string str, key id);
```

* `num` — The code of the command (see below).
* `str` and `id` — Parameters that depend on the specific command.

See the @[**examples**](mention://e9c5ed3f-dc5d-4cba-aa45-85a81e2c3272/document/143d773a-130e-4363-b33c-541ae745fdef) section for usage patterns.


---

## Commands List

| **Startup commands** |
|------------------|
| [BOT_SETUP_SETBOT](/doc/b02cc97d-0916-4132-9288-0c3dc50f16c7) |
| [BOT_STATUS_QUERY](/doc/7a802ec1-c5a0-4488-9b21-795ace44e317) |
| [BOT_RESET_TOTALCONTROL](/doc/87b71e1d-9c1a-44f2-9db7-945b56138137) |
| **Bot Status commands** |
| [BOT_LOGIN](/doc/5ed0eea1-9696-47a5-a788-11d1f1f4910a) |
| [BOT_LOGOUT](/doc/cd791201-b9f9-4b85-9662-c014a5fe6ee5) |
| [BOT_LOCATION](/doc/6a27bcf1-c027-445c-9943-6de2d3252334) |
| **Device settings commands** |
| [BOT_SETUP_SETOPTIONS](/doc/add6f548-65ac-4677-a6be-bb78b9df0b06) |
| [BOT_SETUP_DEVICENAME](/doc/543d1394-0e56-4fa8-b3c7-5aab4f095280) |
| [BOT_SETUP_SETLINK](/doc/7d8744a9-ce1b-4bb4-9499-a6c76d9444b4) |
| **Communication commands** |
| [BOT_SAY_CHAT](/doc/310ae5b3-bb63-4550-a18c-aa21ae1036f2) |
| [BOT_INSTANT_MESSAGE](/doc/d132ecc9-184a-4327-a0c5-f0858f843759) |
| [BOT_SAY_GROUP_CHAT](/doc/3adbfc1d-45a0-411c-8322-6c9b9ed1e44b) |
| [BOT_SEND_NOTICE](/doc/cd589c2a-1bf0-47f5-80e1-93316e69dd46) |
| [BOT_OFFER_TELEPORT](/doc/1e7278a3-c906-4ab5-be69-05e857e622db) |
| [BOT_LISTEN_LOCAL_CHAT](/doc/088b8b10-bbef-485f-b86d-c2c0b22663dc) |
| [BOT_LISTEN_IM](/doc/af869ded-7171-45d5-a794-bace71742ecf) |
| **Movement commands** |
| [BOT_WALK](/doc/50f61582-c3e9-4a28-85ee-0934b5f5abf4) |
| [BOT_WALKTO](/doc/9a24b2f0-1c0c-42ab-a192-45f6253053d6) |
| [BOT_TELEPORT](/doc/88f3f03a-ab24-40ea-aa67-0eb101e606ae) |
| [BOT_FLY](/doc/21d3e6c5-cf4b-4c4d-a751-575b3ec7af76) |
| [BOT_SIT](/doc/417692e7-e94e-4399-b887-a8aa968902da) |
| [BOT_STAND](/doc/253281b4-b141-4a7d-8007-9ba44d40e7aa) |
| **Group Management commands** |
| [BOT_LIST_GROUPS](/doc/2d538e54-e8aa-41dd-b03f-5594a8f7fbd0) |
| [BOT_LIST_GROUP_ROLES](/doc/138f92a7-59ba-4f7f-86a9-69ddcfc05fb0) |
| [BOT_GROUP_JOIN](/doc/92829a67-1235-45ee-ad7b-7abbdb496224) |
| [BOT_GROUP_LEAVE](/doc/bc0edf73-0f5e-407c-8e66-927d481fbe39) |
| [BOT_ACTIVATE_GROUP](/doc/838727a9-a7cd-453c-be40-5014abfa6826) |
| [BOT_GROUP_SET_ROLE](/doc/47df90db-7cda-42f7-b6b8-897c5279d795) |
| [BOT_GROUP_INVITE](/doc/057ef6c5-b54f-4d57-88b5-763ac089e418) |
| [BOT_GROUP_EJECT](/doc/6d81b1f6-dc11-4ef9-9368-20b7c409ff73) |
| [BOT_SELECT_GROUP_TAG](/doc/8e1e54b1-15c7-42a4-801f-ad215faba1db) |
| **Friendship commands** |
| [BOT_OFFER_FRIENDSHIP](/doc/aedd0ec0-eac2-47f6-a4f3-26cf584134ab) |
| [BOT_UNFRIEND](/doc/2d1d7102-90a1-43de-bfe8-be8024eefbdc) |
| [BOT_FRIENDSHIP_CAN_EDIT](/doc/ca5e643a-0e7f-4d21-8d08-a95288266e92) |
| [BOT_FRIENDSHIP_SEE_ONLINE](/doc/feb2ca58-62e4-410e-a916-6745f33a0550) |
| [BOT_FRIENDSHIP_SEE_ON_MAP](/doc/a809e578-e037-46e2-bf1d-891e05c169a7) |
| **Money and Inventory commands** |
| [BOT_LISTEN_INVENTORY_OFFER](/doc/cc70fc19-7241-4661-aa4b-a4e8316a0447) |
| [BOT_LISTEN_MONEY_PAYMENTS](/doc/fa550c7d-2d7e-4d14-8c9d-3370f716a03a) |
| [BOT_GIVE_INVENTORY](/doc/e019cfca-5d6f-4bf5-803e-e902eec1a350) |
| [BOT_GIVE_MONEY](/doc/90bad317-7f84-4d26-8426-e8285397720e) |
| [BOT_GIVE_MONEY_OBJECT](/doc/24ba4f36-9a08-4959-9275-25c7f1147837) |
| [BOT_GET_BALANCE](/doc/9709664b-301d-4535-8754-a21ce1901f29) |
| [BOT_INVENTORY_DELETE](/doc/e81e7f4f-6302-4145-b2cb-e5fcb76bdc77) |
| [BOT_NOTECARD_CREATE](/doc/687be0c3-38c6-4fdd-8470-f5ac8c9488d1) |
| [BOT_NOTECARD_EDIT](/doc/49a45325-db49-4272-9add-e6f99a11cd1f) |
| [BOT_NOTECARD_READ](/doc/8da15a7f-ab7a-485c-84fa-a7d46ee945df) |
| **Bot Appearance commands** |
| [BOT_WEAR](/doc/b9dd8405-afab-4799-bed4-d4facb3dc874) |
| [BOT_TAKEOFF](/doc/e4b5850b-de81-4a89-9111-a6a22cefd5ef) |
| [BOT_REBAKE](/doc/9ca3d1f1-f82b-4e2f-a34c-e5f686e3c8f8) |
| [BOT_ATTACHMENTS](/doc/94b2167c-aa2a-401f-a785-5e202fa9a772) |
| **Sim Management commands** |
| [BOT_SIM_RESTART_START](/doc/b66cbfd8-a798-4cd4-8e71-e56d83cea33a) |
| [BOT_SIM_RESTART_STOP](/doc/036a5579-5b50-4510-9b46-f61ff3b23b7a) |
| [BOT_SIM_SEND_MESSAGE](/doc/ec25cb82-df7b-430f-94ae-af9eba63795c) |
| [BOT_SIM_KICK](/doc/26dd765a-6ee4-4177-97e4-946c86ebb615) |
| [BOT_SIM_ACCESS](/doc/277abdde-f3b7-433c-af45-3f3d2a7722cb) |
| [BOT_SIM_ACCESS_ALL_ESTATES](/doc/d79ac8a4-5d31-4b12-a085-fcba3becab50) |
| **Misc. commands** |
| [BOT_LISTEN_DIALOG](/doc/a0c34b2e-8304-4d5f-813b-11bcc49afc8e) |
| [BOT_TOUCH_OBJECT](/doc/c88e2bb1-2fc5-4d14-9ee2-d47bd5c08114) |
| [BOT_ATTACHMENT_OBJECT](/doc/673bac92-ff68-44cc-b460-d631a347949a) |
| [BOT_DIALOG_REPLY](/doc/cdbc98db-fea1-4ff2-b067-0e3734a4f58b) |


---

**Note:**  
The numeric values for all commands and events are [available here](/doc/2b1ceb83-c8a5-416c-8f62-20c3400673eb).

---

**Documents**

- [BOT_SETUP_DEBUG](https://www.mysmartbots.com/docs/s/dev/doc/bot_setup_debug-2y5tb6Kfgg)
- [BOT_SETUP_DEVICENAME](https://www.mysmartbots.com/docs/s/dev/doc/bot_setup_devicename-y0MB5WZZyH)
- [BOT_SETUP_SETBOT](https://www.mysmartbots.com/docs/s/dev/doc/bot_setup_setbot-4HCmfXWLY7)
- [BOT_ATTACHMENT_OBJECT](https://www.mysmartbots.com/docs/s/dev/doc/bot_attachment_object-JA98GzNLF6)
- [BOT_ATTACHMENTS](https://www.mysmartbots.com/docs/s/dev/doc/bot_attachments-X2x8UrqCRc)
- [BOT_DIALOG_REPLY](https://www.mysmartbots.com/docs/s/dev/doc/bot_dialog_reply-RxNpSnO0xg)
- [BOT_LIST_GROUP_ROLES](https://www.mysmartbots.com/docs/s/dev/doc/bot_list_group_roles-ery8EdaZUT)
- [BOT_LIST_GROUPS](https://www.mysmartbots.com/docs/s/dev/doc/bot_list_groups-bskCk4zIlJ)
- [BOT_LISTEN_DIALOG](https://www.mysmartbots.com/docs/s/dev/doc/bot_listen_dialog-FVGqAcNYpb)
- [BOT_LOGIN](https://www.mysmartbots.com/docs/s/dev/doc/bot_login-WUfSWUWhKN)
- [BOT_TELEPORT](https://www.mysmartbots.com/docs/s/dev/doc/bot_teleport-5ANQYPjhGN)
- [BOT_TOUCH_OBJECT](https://www.mysmartbots.com/docs/s/dev/doc/bot_touch_object-TDcVVl4qu8)
- [BOT_SIM_ACCESS](https://www.mysmartbots.com/docs/s/dev/doc/bot_sim_access-TtFfnb4MsV)
- [BOT_GIVE_MONEY_OBJECT](https://www.mysmartbots.com/docs/s/dev/doc/bot_give_money_object-OWz7hYiIQy)
- [BOT_OFFER_TELEPORT](https://www.mysmartbots.com/docs/s/dev/doc/bot_offer_teleport-ReWhaCdl3Q)
- [BOT_GROUP_EJECT](https://www.mysmartbots.com/docs/s/dev/doc/bot_group_eject-a1VQIs5NnV)
- [BOT_WALK](https://www.mysmartbots.com/docs/s/dev/doc/bot_walk-UJeAhDzPVy)
- [BOT_WALKTO](https://www.mysmartbots.com/docs/s/dev/doc/bot_walkto-TD3BixhrJv)
- [BOT_WEAR](https://www.mysmartbots.com/docs/s/dev/doc/bot_wear-TBnCMri0pA)
- [BOT_SAY_GROUP_CHAT](https://www.mysmartbots.com/docs/s/dev/doc/bot_say_group_chat-C4THivDJ3o)
- [BOT_SELECT_GROUP_TAG](https://www.mysmartbots.com/docs/s/dev/doc/bot_select_group_tag-JJbLIXnBos)
- [BOT_SEND_NOTICE](https://www.mysmartbots.com/docs/s/dev/doc/bot_send_notice-hftpxtlfYm)
- [BOT_REBAKE](https://www.mysmartbots.com/docs/s/dev/doc/bot_rebake-jzZVYyEi9o)
- [BOT_RESET_TOTALCONTROL](https://www.mysmartbots.com/docs/s/dev/doc/bot_reset_totalcontrol-7aozX4iymW)
- [BOT_SAY_CHAT](https://www.mysmartbots.com/docs/s/dev/doc/bot_say_chat-FIxC76tlvm)
- [BOT_SIM_ACCESS_ALL_ESTATES](https://www.mysmartbots.com/docs/s/dev/doc/bot_sim_access_all_estates-67G6rLaB8b)
- [BOT_SIM_KICK](https://www.mysmartbots.com/docs/s/dev/doc/bot_sim_kick-HOS7XEQZAn)
- [BOT_SIM_RESTART_START](https://www.mysmartbots.com/docs/s/dev/doc/bot_sim_restart_start-8CqssO5AnH)
- [BOT_FLY](https://www.mysmartbots.com/docs/s/dev/doc/bot_fly-3mWDV6dFJ7)
- [BOT_FRIENDSHIP_CAN_EDIT](https://www.mysmartbots.com/docs/s/dev/doc/bot_friendship_can_edit-da6XPxDt2v)
- [BOT_FRIENDSHIP_SEE_ON_MAP](https://www.mysmartbots.com/docs/s/dev/doc/bot_friendship_see_on_map-hspCTTga1W)
- [BOT_LISTEN_LOCAL_CHAT](https://www.mysmartbots.com/docs/s/dev/doc/bot_listen_local_chat-SjaHTnslMq)
- [BOT_LISTEN_MONEY_PAYMENTS](https://www.mysmartbots.com/docs/s/dev/doc/bot_listen_money_payments-rJZICXuEm2)
- [BOT_LOCATION](https://www.mysmartbots.com/docs/s/dev/doc/bot_location-3FQSgWmZp2)
- [BOT_GIVE_MONEY](https://www.mysmartbots.com/docs/s/dev/doc/bot_give_money-TTuvYAlmbz)
- [BOT_LISTEN_IM](https://www.mysmartbots.com/docs/s/dev/doc/bot_listen_im-AuRPi7bV2N)
- [BOT_GROUP_INVITE](https://www.mysmartbots.com/docs/s/dev/doc/bot_group_invite-wdtdIQhtrt)
- [BOT_GROUP_JOIN](https://www.mysmartbots.com/docs/s/dev/doc/bot_group_join-VCDzivydDS)
- [BOT_GROUP_LEAVE](https://www.mysmartbots.com/docs/s/dev/doc/bot_group_leave-ZEiA6eyG1N)
- [BOT_UNFRIEND](https://www.mysmartbots.com/docs/s/dev/doc/bot_unfriend-tF0ieE3dXo)
- [BOT_NOTECARD_CREATE](https://www.mysmartbots.com/docs/s/dev/doc/bot_notecard_create-Tx1I9RvLQb)
- [BOT_NOTECARD_EDIT](https://www.mysmartbots.com/docs/s/dev/doc/bot_notecard_edit-7O0AGorI8T)
- [BOT_STAND](https://www.mysmartbots.com/docs/s/dev/doc/bot_stand-OqaiNbjt4N)
- [BOT_STATUS_QUERY](https://www.mysmartbots.com/docs/s/dev/doc/bot_status_query-5vGrFxQRws)
- [BOT_GROUP_SET_ROLE](https://www.mysmartbots.com/docs/s/dev/doc/bot_group_set_role-hgTdsQR6iN)
- [BOT_TAKEOFF](https://www.mysmartbots.com/docs/s/dev/doc/bot_takeoff-6TxLTITQ5J)
- [BOT_GIVE_INVENTORY](https://www.mysmartbots.com/docs/s/dev/doc/bot_give_inventory-pIcd9pTvXc)
- [BOT_SIM_RESTART_STOP](https://www.mysmartbots.com/docs/s/dev/doc/bot_sim_restart_stop-9TRsDVcGQx)
- [BOT_FRIENDSHIP_SEE_ONLINE](https://www.mysmartbots.com/docs/s/dev/doc/bot_friendship_see_online-lfAzmmf9Bg)
- [BOT_LISTEN_INVENTORY_OFFER](https://www.mysmartbots.com/docs/s/dev/doc/bot_listen_inventory_offer-jjy16t6hyV)
- [BOT_ACTIVATE_GROUP](https://www.mysmartbots.com/docs/s/dev/doc/bot_activate_group-VvfYWYEaiA)
- [BOT_GET_BALANCE](https://www.mysmartbots.com/docs/s/dev/doc/bot_get_balance-fjS406WLIQ)
- [BOT_SIM_SEND_MESSAGE](https://www.mysmartbots.com/docs/s/dev/doc/bot_sim_send_message-NflJmfpd5c)
- [BOT_INSTANT_MESSAGE](https://www.mysmartbots.com/docs/s/dev/doc/bot_instant_message-7rgQkrRASf)
- [BOT_INVENTORY_DELETE](https://www.mysmartbots.com/docs/s/dev/doc/bot_inventory_delete-nKAAinzf0A)
- [BOT_NOTECARD_READ](https://www.mysmartbots.com/docs/s/dev/doc/bot_notecard_read-xDlqTJuP9Z)
- [BOT_OFFER_FRIENDSHIP](https://www.mysmartbots.com/docs/s/dev/doc/bot_offer_friendship-uz4KbDpbXj)
- [BOT_LOGOUT](https://www.mysmartbots.com/docs/s/dev/doc/bot_logout-VheOrnjltp)
- [BOT_SIT](https://www.mysmartbots.com/docs/s/dev/doc/bot_sit-dIxYZDQc2T)
- [BOT_SETUP_SETLINK](https://www.mysmartbots.com/docs/s/dev/doc/bot_setup_setlink-mWdSAttiMr)
- [BOT_SETUP_SETOPTIONS](https://www.mysmartbots.com/docs/s/dev/doc/bot_setup_setoptions-73UbBloMc3)