Difference between revisions of "TotalControl for LSL/Commands/BOT RESET TOTALCONTROL"
From SmartBots Developers Docs
								| Line 1: | Line 1: | ||
{{DISPLAYTITLE:BOT_RESET_ADMINBOT}}  | {{DISPLAYTITLE:BOT_RESET_ADMINBOT}}  | ||
| − | <onlyinclude>Invokes llResetScript() for   | + | <onlyinclude>Invokes llResetScript() for TotalControl script.</onlyinclude>  | 
<syntaxhighlight lang="lsl">  | <syntaxhighlight lang="lsl">  | ||
| Line 16: | Line 16: | ||
== Comments ==  | == Comments ==  | ||
| − | The command completely resets   | + | The command completely resets the TotalControl script (for example, on object owner change). Invokes llResetScript() for TotalControl script. Don't forget to issue [[TotalControl_for_LSL/Commands/BOT_SETUP_SETBOT|BOT_SETUP_SETBOT]] afterwards.  | 
== Example ==  | == Example ==  | ||
Revision as of 05:59, 18 May 2017
Invokes llResetScript() for TotalControl script.
llMessageLinked(LINK_SET, BOT_RESET_ADMINBOT, "", NULL_KEY);
Variables
The following table shows input values (you send them with the API call) and returned output values.
| Variable | Required |  Description
 
  | |
|---|---|---|---|
| str | yes | --- | |
| id | yes | --- | |
Comments
The command completely resets the TotalControl script (for example, on object owner change). Invokes llResetScript() for TotalControl script. Don't forget to issue BOT_SETUP_SETBOT afterwards.
Example
on_rez(integer param) {
  llMessageLinked(LINK_SET, BOT_RESET_ADMINBOT, "", NULL_KEY);
}