Initializing TotalControl

From SmartBots Developers Docs
Usage
Revision as of 05:24, 19 May 2017 by Chevonn Edelmann (Talk | contribs)

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

TotalControl for Bots has to know the Bot name you are going to use.

Sending BOT_SETUP_SETBOT command

llMessageLinked(LINK_SET,BOT_SETUP_SETBOT,"My bot name","ACCESS CODE");
  • (yes, the above example is correct: you can pass a string value instead of a key)

Access Code

To protect your bot from abusive scripters, you have to pass the bot access code while initializing - (read more about access code).

Determining Success

TotalControl for Bots will raise the event after BOT_SETUP_SETBOT