Difference between revisions of "TotalControl for LSL/Commands/BOT INSTANT MESSAGE"
From SmartBots Developers Docs
| Line 6: | Line 6: | ||
{{AdminBot Required Vars|BOT_INSTANT_MESSAGE}} | {{AdminBot Required Vars|BOT_INSTANT_MESSAGE}} | ||
{{API Variable|str|yes}} message to send | {{API Variable|str|yes}} message to send | ||
| − | {{API Variable|id|yes}} name of avatar to send message to | + | {{API Variable|id|yes}} name of avatar OR uuid of avatar to send message to |
{{API Variables Table End}} | {{API Variables Table End}} | ||
| Line 13: | Line 13: | ||
<syntaxhighlight lang="lsl"> | <syntaxhighlight lang="lsl"> | ||
| − | llMessageLinked(LINK_SET, BOT_INSTANT_MESSAGE, "This is an IM", "Receiver Name"); | + | llMessageLinked(LINK_SET, BOT_INSTANT_MESSAGE, "This is an IM", "Receiver Name/UUID"); |
</syntaxhighlight> | </syntaxhighlight> | ||
Latest revision as of 08:29, 26 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 OR uuid of avatar to send message to | |
Example
llMessageLinked(LINK_SET, BOT_INSTANT_MESSAGE, "This is an IM", "Receiver Name/UUID");