Open+Group+Join

code //Open Group Join

string groupkey;

findgroupkey {   list a = llGetObjectDetails(llGetKey, [OBJECT_GROUP]); groupkey = llList2String(a,0); if (groupkey == "00000000-0000-0000-0000-000000000000") {       llWhisper(0, "Set the Group for this object in EDIT under the GENERAL tab and be sure your Group is Open Enrollment."); }   else {       llWhisper(0, "Click the link from Chat History (Ctrl+H) and then click on JOIN button! secondlife:///app/group/" + groupkey + "/about"); } }

default {   state_entry {       llSetText("Touch to Join\nour Group", <1,1,1>, 1.0); //Floating Text, edit or remove findgroupkey; }

touch_start(integer total_number) {       findgroupkey; } } code