Initialising TotalControl

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 or TOKEN"); 

(yes, the above example is correct: you can pass a string value instead of a key)

Access Code or API Token

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

Determining Success

TotalControl for Bots will raise the event after BOT_SETUP_SETBOT