Difference between revisions of "AdminBot for LSL/Documentation/Security Code"
From SmartBots Developers Docs
(Created page with "{{DISPLAYTITLE: Security Code}} '''Security Code''' is the secret code which allows you to use AdminBot. It helps you to protect your group against spammers. == Changing the...") |
|||
Line 10: | Line 10: | ||
Pass the security code along with the group name: | Pass the security code along with the group name: | ||
− | <syntaxhighlight> | + | <syntaxhighlight code="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> | + | <syntaxhighlight code="lsl"> |
llMessageLinked(LINK_SET,SB_SETUP_SETGROUPUUID,"SECURITY CODE","group-UUID"); | llMessageLinked(LINK_SET,SB_SETUP_SETGROUPUUID,"SECURITY CODE","group-UUID"); | ||
</syntaxhighlight> | </syntaxhighlight> |
Revision as of 18:45, 29 June 2016
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.