Contents
Support Managers
| Makaylah Wurgle English | online | 
| Rehnaeaislinn English | online | 
| shorty McKeenan English | online | 
| Aerielle Kiyori English | offline | 
| Alexander Pixels English | offline | 
| Amyalka English | offline | 
| Bustychocolate Ravenheart English | offline | 
| Glaznah Gassner English, Russian | offline | 
| Justina Mcminnar English | offline | 
| Sammyredfire English | offline | 
| Xartashah English | offline | 
| show offline managers | |
| English, Russian | 
give_inventory (SBSL Command)
			Main > Bot Scripting Language > Give inventory (SBSL Command)		
			
			| SBSL Commands | 
Have a question? Ask at SmartBots DevPortal!
DevPortal is a blog and forum for developers. Ask your questions to get a prompt reply!
Gives the specific object or inventory folder to the resident.
Syntax
give_inventory RESIDENT-UUID OBJECT-ID
Command parameters
The following table explain the entries of the command:
| Entry | Description | 
|---|---|
| RESIDENT-UUID | the resident UUID to invite | 
| OBJECT-ID | the object or folder inventory UUID (see comments below) | 
Comments
OBJECT-ID is the inventory UUID, not an asset UUID. It can be retrieved in SmartBots account, by using "Inventory" page of your bot.
- The inventory is loading each time your bot restarts. Allow about 60 seconds for inventory to completely load.
- Bot automatically recognizes the inventory folders and delivers them accordingly.
- The commands freezes for about 15 seconds if object UUID is not exists in bot's inventory. To avoid this make sure you are using correct UUIDs.
Examples
Gives resident a notecard (or whatever else) when resident starts talking with bot:
start_typing { group_invite $speaker_uuid 3b65a122-8f77-64fe-5b2a-225d4c490d9c }