SmartBots (SmartBots2Life)

Second Life group direct invitation bots

Contents

Support Managers

Cybergothdragon online
English, German
QuincyJohnes online
English, Russian
show offline managers
English, Japanese, Russian

AdminBot Examples: SB_AVATAR_GROUP

Have a question? Ask at SmartBots DevPortal!

DevPortal is a blog and forum for developers. Ask your questions to get a prompt reply!

Continue to DevPortal


SB_AVATAR_GROUP command checks if avatar is a member of specific group. See SB_AVATAR_GROUP (AdminBot) for more details.

touch_start(integer total_number) {
  // Check avatar group
  llMessageLinked(LINK_SET,SB_AVATAR_GROUP,"My group name",llDetectedKey(0));
}
 
// This event parses different replies from AdminBot    
link_message(integer sender,integer cmd, string data, key id) {
  /////////////////// Group check results
  if(cmd==SB_GROUP_CHECKED) {
    llOwnerSay("Avatar "+(string)id+" group check result: "+data);
  }     
}

Questions, wishes and discussion