Difference between revisions of "AdminBot for LSL/Documentation/Security Code"

From SmartBots Developers Docs
Jump to: navigation, search
 
(3 intermediate revisions by one other user not shown)
Line 5: Line 5:
  
 
== Changing the Security Code ==
 
== Changing the Security Code ==
The Security Code can be changed at the ''Group settings'' page, read the [[Security code]] page for details.
+
The Security Code can be changed at the ''Group settings'' page, read the [http://www.mysmartbots.com/docs/Security_code Security code] page for details.
  
 
== Passing the Code ==
 
== Passing the Code ==
 
Pass the security code along with the group name:
 
Pass the security code along with the group name:
  
<syntaxhighlight code="lsl">
+
<syntaxhighlight lang="lsl">
 
llMessageLinked(LINK_SET,SB_SETUP_SETGROUP,"My group name","SECURITY CODE");
 
llMessageLinked(LINK_SET,SB_SETUP_SETGROUP,"My group name","SECURITY CODE");
 
// See comments (*) below
 
// See comments (*) below
Line 17: Line 17:
 
OR
 
OR
  
<syntaxhighlight code="lsl">
+
<syntaxhighlight lang="lsl">
 
llMessageLinked(LINK_SET,SB_SETUP_SETGROUPUUID,"SECURITY CODE","group-UUID");
 
llMessageLinked(LINK_SET,SB_SETUP_SETGROUPUUID,"SECURITY CODE","group-UUID");
 
</syntaxhighlight>
 
</syntaxhighlight>

Latest revision as of 13:11, 12 May 2017

Security Code is the secret code which allows you to use AdminBot.

It helps you to protect your group against spammers.

Changing the Security Code

The Security Code can be changed at the Group settings page, read the Security code page for details.

Passing the Code

Pass the security code along with the group name:

llMessageLinked(LINK_SET,SB_SETUP_SETGROUP,"My group name","SECURITY CODE");
// See comments (*) below

OR

llMessageLinked(LINK_SET,SB_SETUP_SETGROUPUUID,"SECURITY CODE","group-UUID");

(*) It's not a mistake, you can pass the string instead of the key parameter.