Difference between revisions of "AdminBot for LSL/Commands/SB RESET ADMINBOT"
From SmartBots Developers Docs
(Created page with "{{DISPLAYTITLE: SB_RESET_ADMINBOT}} <onlyinclude>Invokes llResetScript() for AdminBot script.</onlyinclude> {{API Variables Table}} {{AdminBot Required Vars|SB_RESET_ADMINBO...") |
m (Gg moved page AdminBot for Groups/Commands/SB RESET ADMINBOT to AdminBot for LSL/Commands/SB RESET ADMINBOT) |
||
(One intermediate revision by the same user not shown) | |||
Line 2: | Line 2: | ||
<onlyinclude>Invokes llResetScript() for AdminBot script.</onlyinclude> | <onlyinclude>Invokes llResetScript() for AdminBot script.</onlyinclude> | ||
− | {{ | + | {{AdminBot Variables Table|command=SB_RESET_ADMINBOT}} |
{{AdminBot Required Vars|SB_RESET_ADMINBOT}} | {{AdminBot Required Vars|SB_RESET_ADMINBOT}} |
Latest revision as of 13:11, 12 May 2017
Invokes llResetScript() for AdminBot script.
// Command usage:
llMessageLinked(LINK_SET, SB_RESET_ADMINBOT, string str, key id);
API parameters
llMessageLinked function accepts str and id parameters. Their meaning for SB_RESET_ADMINBOT is explained below:
Variable | Required | Description.
| |
---|---|---|---|
str | yes | -- | |
id | yes | -- |
Comments
The command completely resets AdminBot script (for example, on object owner change). Invokes llResetScript() for AdminBot script. Don't forget to issue SB_SETUP_SETGROUP afterwards.
Example
on_rez(integer param) {
llMessageLinked(LINK_SET, SB_RESET_ADMINBOT, "", NULL_KEY);
}