SmartBots (SmartBots2Life)

Second Life group direct invitation bots

Contents

Support Managers

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

SB_NOTICE_SEND (AdminBot)

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


Sends out the group notice.

Variables

The following table shows input values (you send them with the API call) and returned output values.

Variable Required Description
Syntax:
llMessageLinked( LINK_SET, SB_NOTICE_SEND, string str, key id )
Input variables:
str yes First line - notice subject

Rest of the string - notice text.

id yes Attachment inventory ID (optional)

Comments

This command delivers the notice to the group, accompanied with optional attachment:

key inventoryID = "b38b71a1-60a6-b109-75f2-8a22f68e7851";
 
llMessageLinked(LINK_SET, SB_NOTICE_SEND,
  "This is a subject line" + "\n" +
  "This is a body,\nprobably multiline",
  inventoryID);

Using attachments

The notice attachment UUID can be copied from the bot's inventory in SmartBots account:

  1. Open account dashboard
  2. Click on "auto notices" link within your group:
    Group-notices-link.jpg
  3. Open "Inventory" tab
  4. Locate your inventory item and click "inventory UUID: click to show":
    Bot-inventory-uuid-access.jpg

Important notes

1. Subject and text limitations

Please remember that notice subject is limited to latin letters and numbers only, and maximum length is 254 single-byte characters.

The notice text can contain international characters, the maximum length is 512 bytes. See Second Life wiki for details.

2. Attachment permissions

Your bot have to have both "Copy" and "Transfer" permissions to send out your attachments (the "next owner permissions" can be set to any value).

The inventory permissions can be verified and updated on Inventory page:

Bot-inventory-permissions-change.jpg

Example

key inventoryID = "b38b71a1-60a6-b109-75f2-8a22f68e7851";
 
llMessageLinked(LINK_SET, SB_NOTICE_SEND,
  "This is a subject line" + "\n" +
  "This is a body,\nprobably multiline",
  inventoryID);


<< return back to AdminBot commands

Questions, wishes and discussion