llDetectedGroup

Written by Kitsune
default
{
    state_entry()
    {
        llSetText("llDetectedGroup()\nTouch to see if you're in the same group",<1,1,1>,1);
    }
 
    touch_start(integer total_number)
    {
       if(llDetectedGroup(0))
            llSay(0,"Same group!");
       else
            llSay(0,"Not the same group!");
    }
}