Difference between revisions of "TotalControl for LSL/Commands/BOT INSTANT MESSAGE"
From SmartBots Developers Docs
(Created page with "{{DISPLAYTITLE:BOT_INSTANT_MESSAGE}} <onlyinclude>Commands bot to send an instant message to an avatar</onlyinclude> {{API Variables Table}} {{AdminBot Required Vars|BOT_INS...") |
|||
| Line 13: | Line 13: | ||
<syntaxhighlight lang="lsl"> | <syntaxhighlight lang="lsl"> | ||
| − | llMessageLinked(LINK_SET, | + | llMessageLinked(LINK_SET, BOT_INSTANT_MESSAGE, "This is an IM", "Receiver Name"); |
</syntaxhighlight> | </syntaxhighlight> | ||
Revision as of 05:48, 19 May 2017
Commands bot to send an instant message to an avatar
Variables
The following table shows input values (you send them with the API call) and returned output values.
| Variable | Required | Description
| |
|---|---|---|---|
| str | yes | message to send | |
| id | yes | name of avatar to send message to | |
Example
llMessageLinked(LINK_SET, BOT_INSTANT_MESSAGE, "This is an IM", "Receiver Name");