Difference between revisions of "TotalControl for LSL/Commands/BOT OFFER FRIENSHIP"

From SmartBots Developers Docs
Jump to: navigation, search
(Created page with "{{DISPLAYTITLE:BOT_OFFER_FRIENSHIP }} <onlyinclude>Commands bot to offer friendship to someone</onlyinclude> {{API Variables Table}} {{AdminBot Required Vars|BOT_OFFER_FRIEN...")
 
Line 1: Line 1:
{{DISPLAYTITLE:BOT_OFFER_FRIENSHIP }}
+
{{DISPLAYTITLE:BOT_OFFER_FRIENDSHIP }}
 
<onlyinclude>Commands bot to offer friendship to someone</onlyinclude>
 
<onlyinclude>Commands bot to offer friendship to someone</onlyinclude>
  
 
{{API Variables Table}}
 
{{API Variables Table}}
  
{{AdminBot Required Vars|BOT_OFFER_FRIENSHIP }}
+
{{AdminBot Required Vars|BOT_OFFER_FRIENDSHIP }}
{{API Variable|str|yes}} message to send along with offer
+
{{API Variable|str|yes}} message to send along with the friendship offer
 
{{API Variable|id|yes}} uuid of person to send friend request to
 
{{API Variable|id|yes}} uuid of person to send friend request to
  
Line 13: Line 13:
  
 
<syntaxhighlight lang="lsl">
 
<syntaxhighlight lang="lsl">
llMessageLinked(LINK_SET, BOT_OFFER_FRIENSHIP , "Please add me as a friend", "uuid goes here");
+
llMessageLinked(LINK_SET, BOT_OFFER_FRIENDSHIP , "Please add me as a friend", "uuid of person goes here");
 
</syntaxhighlight>
 
</syntaxhighlight>
  

Revision as of 19:34, 3 March 2019

Commands bot to offer friendship to someone

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 along with the friendship offer
id yes uuid of person to send friend request to

Example

llMessageLinked(LINK_SET, BOT_OFFER_FRIENDSHIP , "Please add me as a friend", "uuid of person goes here");