Group Key Finder

Date 2008/4/1 0:30:00 | Topic: Agent/Avatar

Touch to get the object's Group Key.
default
{
    
state_entry()
    {
       
llSetText("Touch to learn\nGroup Key", <1,1,1>, 1);
    }

    
touch_start(integer total_number)
    {
        list 
llGetObjectDetails(llGetKey(), [OBJECT_GROUP]);
        
string b llList2String(a,0);
        if (
== "00000000-0000-0000-0000-000000000000")
        {
            
llWhisper(0"Please set the Group for this object in EDIT under the GENERAL tab first.");
        }
        else
        {
            
llWhisper(0"This object's Group Key is: " b);
        }
    }
}




This script comes from Alicia Stella Design - Best Tip Jars in Second Life
http://www.aliciastella.com

The URL for this script is:
http://www.aliciastella.com/modules/AMS/article.php?storyid=20