Commands

Commands are being sent to the bot by calling the javascript method of Bot.

Bot.im("Glaznah Gassner", "Hello there!");

Access Rights

isMyOwner

Returns if the bot is owned by the avatar.

isMyManager

Returns if the avatar is a Trusted Manager for the bot.

isOnline

Returns true/false if the bot is online.

Avatar Info

avatarInfo

Returns the Second Life avatar details.

checkScriptedAgent

Returns if the resident is a scripted agent known by SmartBots. Includes all SmartBots bots and other residents our system considers bots or scripted agents.

Status

status

Returns the online status of the bot.

statusExt

Returns the online status of the bot (with extended information).

login

Initiates bot login sequence.

logout

Initiates bot logout sequence.

Messaging

say

Says message over a specific chat channel.

im

Sends Instant Message to a specific avatar.

replyDialog

Virtually "presses" a pop-up dialog button displayed by an in-world script.

startTyping

Sends "typing" in chat to a specific user.

stopTyping

Stops sending "typing" in chat to a specific user.

Friendship

acceptFriendshipOffer

Accept (or reject) a friendship offer sent by another avatar.

offerFriendship

Offers friendship to a resident.

Group Control

acceptGroupOffer

Accept (or reject) a group invitation sent by another avatar.

activateGroup

Activates a specific group (e.g., to get build rights on a parcel).

groupInfo

Returns the Second Life group details.

joinGroup

Tries to join a group by UUID.

leaveGroup

Commands bot to leave the group specified by a UUID.

listGroups

Returns a list of the Second Life groups the bot is a member of.

revokeGroupRole

Removes a group member from a specific role.

sendGroupIM

Sends a message to group chat.

sendNotice

Sends a notice to the group.

setGroupRole

Puts a member of a group in a specific role.

Group Members Control

ejectGroupMember

Ejects residents from the group.

inviteGroup

Sends a group invitation to a specific resident.

Inventory

acceptInventoryOffer

Accept (or reject) an inventory offer sent by another avatar or in-world script.

listInventory

Returns an inventory list of the given folder.

giveInventory

Commands bot to send an inventory item or folder to a specific avatar.

deleteInventory

Commands bot to delete an inventory item.

createNotecard

Creates a notecard with the desired contents in the bot's inventory.

editNotecard

Edits a notecard in the bot's inventory.

readNotecard

Reads a notecard in the bot's inventory.

Appearance

takeoff

Removes a clothing item, body part, or attachment (opposite of the wear command).

wear

Commands bot to wear a clothing item, body part, or attach an object.

Money

getBalance

Retrieves the current bot's L$ balance.

giveMoney

Commands bot to send money (L$) to a specific avatar.

Movement

fly

Starts or stops flying.

getLocation

Returns current location of the bot.

move

Starts or stops bot movement and rotations.

sit

Commands bot to sit on a specific prim. Allows saving this object as a permanent location.

teleport

Teleports bot to a specific location.

walkTo

Walks to a position within the current region.

turnTo

Turns bot towards specified heading.

Other Avatars Interaction

key2name

Returns avatar Second Life name by UUID.

name2key

Returns the UUID of a resident by name.

offerTeleport

Sends a teleport offer to a resident.

acceptTeleportOffer

Accept (or reject) a teleport offer sent by another avatar.

World Interaction

scanNearbyAvatars

Scans the current region for other avatars.

trackAvatars

Starts tracking avatars and reports their position in avatar_tracker_update event.

takeInworldPrim

Takes (de-rezzes) or copies an in-world prim into the bot's inventory. Not available for QubicBot yet?

touchAttachment

Touches an attachment of the bot (HUD or wearable object).

touchPrim

Touches an in-world object (prim) by its UUID.

Region (Sim) Control

regionRestart

Requests to restart the current region of the bot.

regionRestartCancel

Cancels a pending restart of the current region.