# Examples

# AdminBot Basics

The work with **AdminBot** consists of three parts:


1. Initialization (set the group name)
2. Sending AdminBot commands
3. Receiving AdminBot events

## Starting Your Script

Most AdminBot commands and events are defined as [constants](/doc/f86d2baa-8f07-4c07-84d8-728b51e61fc5).  
It's recommended to include the full set of [AdminBot constants](/doc/f86d2baa-8f07-4c07-84d8-728b51e61fc5) in your script.

## Simple Examples

* [Simple Group Inviter script](/doc/8ae2335d-3b7a-48b1-9a36-d3fb9de44fb1)
* [Group chat listener](/doc/ad461b10-ed35-4095-8cb1-fd414a74521a)
* [Group notice delivery with attachment](/doc/3aeadb48-eec9-40a2-83bb-da97dde15258)

## Advanced Examples

* [Checking if avatar is in the group](/doc/2641f02c-90cd-459c-9f75-4d638fa56b2f)
* @[Changing the `llMessageLinked` linknum](mention://dd371071-b300-43f1-908d-c6351681339a/document/5ff562c5-cb87-428b-ac2c-c44aea992367)

---

**Documents**

- [Headers/constants](https://www.mysmartbots.com/docs/s/dev/doc/headersconstants-CPL8QP7nvD)
- [Check if an avatar is in a group](https://www.mysmartbots.com/docs/s/dev/doc/check-if-an-avatar-is-in-a-group-ET3JMMxCTJ)
- [Group inviter script](https://www.mysmartbots.com/docs/s/dev/doc/group-inviter-script-0ClRmPIrwt)
- [Changing the link num](https://www.mysmartbots.com/docs/s/dev/doc/changing-the-link-num-XuzD8JsuOC)
- [Group chat listener](https://www.mysmartbots.com/docs/s/dev/doc/group-chat-listener-hbcRSZpi8g)
- [Group notice delivery with attachment](https://www.mysmartbots.com/docs/s/dev/doc/group-notice-delivery-with-attachment-qYtP1j2daU)