Contents
Support Managers
|
Xartashah
English
| online |
|
Aerielle Kiyori
English
| offline |
|
Alexander Pixels
English
| offline |
|
Amyalka
English
| offline |
|
Bustychocolate Ravenheart
English
| offline |
|
Glaznah Gassner
English, Russian
| offline |
|
Justina Mcminnar
English
| offline |
|
Makaylah Wurgle
English
| offline |
|
Rehnaeaislinn
English
| offline |
|
Sammyredfire
English
| offline |
|
shorty McKeenan
English
| offline |
| show offline managers | |
| English, Russian |
im (SBSL Command)
Main > Bot Scripting Language > Im (SBSL Command)
| SBSL Commands |
Have a question? Ask at SmartBots DevPortal!
DevPortal is a blog and forum for developers. Ask your questions to get a prompt reply!
Sends an Instant Message to the resident. Command is able to send messages either by resident SL name or by UUID.
Syntax
im FIRST_NAME LAST_NAME MESSAGEand
im UUID MESSAGECommand parameters
The following table explain the entries of the command:
| Entry | Description |
|---|---|
| FIRST_NAME | the first name of the recipient. |
| LAST_NAME | the last name of the resident. Specify "Resident" if avatar has no last name. |
| UUID | the UUID of the recipient. |
| MESSAGE | the text of the message. Can contain variables. |
Comments
Within an event, the "FIRST_NAME LAST_NAME" pair can be replaced with a single variable containing the name (see the example below).
Examples
Sends notification message to specific avatar, specified by its name:
group_offer { im Glaznah Gassner I've got a message: $message }
The same task to be done, but using recipient's UUID instead:
group_offer { im cd93067e-7c4e-41c0-ba91-be01f4bafe35 I've got a message: $message }
Antispam
Sends a warning message to everyone who tries to invite bot to the group (see group_offer for details).
group_offer { im $avatar_name Don't spam me with your group invitations or you get banned! }
Autoresponder
Sends an autoresponder message to the avatar talking:
instant_message { im $speaker_name Thank you for your message! For help, open http://www.mysmartbots.com }