# Inviting and ejecting from custom role

## 1. Inviting to the custom role

To invite people to a custom group role (other than "Everyone") you need to do the following:

* Enable the "Assign Members to Assigner's Role" ability for your bot
* Add the bot to the desired role

If you miss any of these requirements, the group invitation will appear, but the resident will receive the error message: `Unable to join group. The person who invited you lacks the required group powers.`


---

## 2. Ejecting members from non-Everyone role

To eject group members do the following:

* Enable "Remove Members From Roles" ability for the bot
* Add the bot to the role you will eject from


---

### Example

If you want to invite people to the **"Tenants"** role, you have to complete the following steps:


1. Open your group settings in the Second Life viewer
2. Edit the **"SmartBots"** role:
   * Enable **"Assign Members to Assigner's Role"** ability
3. Add the bot to the **"Tenants"** role (in addition to "Everyone" and "SmartBots")
4. Set up your **Interface Device** *(NOT required for Casper, Hippo and other 3rd-party services and plugins)*:
   * Log in to your SmartBots web account
   * Locate your group and click **"stats & options"** under the **GROUP INVITER** section
   * Click on the **"Interface options"** tab
   * Specify the role in the **"Invite to role:"** field


---

## Common SL glitch

There is currently a known Second Life glitch affecting group ejections.  
Instructions for troubleshooting this issue are available [here].