SB_RESET_ADMINBOT

From SmartBots Developers Docs
AdminBot for LSLCommands
Revision as of 19:53, 29 June 2016 by Phil (Talk | contribs) (Created page with "{{DISPLAYTITLE: SB_RESET_ADMINBOT}} <onlyinclude>Invokes llResetScript() for AdminBot script.</onlyinclude> {{API Variables Table}} {{AdminBot Required Vars|SB_RESET_ADMINBO...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Invokes llResetScript() for AdminBot script.

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 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);
}