SmartBots (SmartBots2Life)

Second Life group direct invitation bots


Support Managers

Cybergothdragon online
English, German
Lance Swain online
Rehnaeaislinn online
show offline managers
English, Japanese, Russian

SSTI API Example: custom button

The following script adds a custom button to the Hippo box.

// SmartShare Tenant Inviter example plugin
// (C) Advers Inc, 2013-2015
// This script demonstrates the API usage and interaction with SSTI. Feel free to
// modify and distribute.
// CONSTANTS: Copy them to your script to call SSTI API
// See for details
// Messages to SSTI (commands):
integer SSTI_API_GET_GUESTS=-45030001;
integer SSTI_API_CUSTOM_BUTTON=-45030002;
// Replies from SSTI (events):
integer SSTI_EVENT_INITIALIZED=-45040001;
integer SSTI_EVENT_GUESTS=-45040002;
integer SSTI_EVENT_CUSTOM_BUTTON=-45040003;
integer SSTI_EVENT_NEW_TENANT=-45040004;
default {
    state_entry() {
        // Set custom button
        llMessageLinked(LINK_SET, SSTI_API_CUSTOM_BUTTON, "Website", NULL_KEY);
    // This function processes the replies from SSTI
    link_message(integer sender, integer cmd, string str, key id) {
        // React on custom button press
        if(cmd == SSTI_EVENT_CUSTOM_BUTTON) {
            llLoadURL(id, "Visit our website!", "");

Questions, wishes and discussion