Contents

Support Managers

Xartashah
English
online
Aerielle Kiyori
English
offline
show offline managers  
English, Hindi, Russian  

SBSL Event: inventory_offer

Have a question? Ask at SmartBots DevPortal!

DevPortal is a blog and forum for developers. Ask your questions to get a prompt reply!

Continue to DevPortal



This event is being fired when someone offers the inventory item to the bot.

Variables

This event has the following variables:

  • $sender_type - sender's type: AGENT or OBJECT
  • $sender_name - the name of the avatar, or object name
  • $sender_uuid - sender avatar's UUID, or object UUID
  • $item_name - the name of inventory item
  • $object_id - inventory object ID (see below)
  • $item_creator - object creator UUID

Note: the $object_id parameter contains the inventory object ID. It is not "asset UUID", it represents the specific object in bot's inventory.

If you send object to someone, you need to use this object ID.

Return back to events list.