SmartBots | online |
English | |
Amyalka | offline |
English | |
Brimstone Firehawk | offline |
English | |
Chiyoko Winslet | offline |
English | |
DjEspektro Aeon | offline |
English, SP, PT | |
Glaznah Gassner | offline |
English, Russian | |
Lance Swain | offline |
English | |
QuincyJohnes | offline |
English, Russian | |
Rehnaeaislinn | offline |
English | |
show offline managers | |
English, PT, Russian, SP |
The following script adds a custom button to the Hippo box.
//////////////////////////////////////////////////////////////////////////////// // SmartShare Tenant Inviter example plugin // (C) Advers Inc, 2013-2015 // http://www.mysmartbots.com/docs/SSTI // 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 http://www.mysmartbots.com/docs/SSTI_API 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!", "http://mysmartbots.com"); } } }