# 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/headersconstants-GcLQFSzXtr).  
It's recommended to include the full set of [AdminBot constants](/doc/headersconstants-GcLQFSzXtr) in your script.

## Simple Examples

* [Simple Group Inviter script](/doc/group-inviter-script-PdoZUBQlmP)
* [Group chat listener](/doc/group-chat-listener-xzV6Q7TtT5)
* [Group notice delivery with attachment](/doc/group-notice-delivery-with-attachment-q0WgEfo8XE)

## Advanced Examples

* [Checking if avatar is in the group](/doc/check-if-an-avatar-is-in-a-group-HKFFCDDCA8)
* [Changing the `llMessageLinked` linknum](/doc/changing-the-link-num-mSXRgoqQ4u)

---

**Documents**

- [Changing the link num](https://sb-docs-dev.getoutline.com/s/dev/doc/changing-the-link-num-mSXRgoqQ4u)
- [Check if an avatar is in a group](https://sb-docs-dev.getoutline.com/s/dev/doc/check-if-an-avatar-is-in-a-group-HKFFCDDCA8)
- [Group inviter script](https://sb-docs-dev.getoutline.com/s/dev/doc/group-inviter-script-PdoZUBQlmP)
- [Group chat listener](https://sb-docs-dev.getoutline.com/s/dev/doc/group-chat-listener-xzV6Q7TtT5)
- [Group notice delivery with attachment](https://sb-docs-dev.getoutline.com/s/dev/doc/group-notice-delivery-with-attachment-q0WgEfo8XE)
- [Headers/constants](https://sb-docs-dev.getoutline.com/s/dev/doc/headersconstants-GcLQFSzXtr)