Thread Rating:
  • 2 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Script Opengrid - Group inviter
#1
For Opensim

Code:
string groupkey = "00000000-0000-0000-0000-000000000000"; // change uuid



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();
    }
}
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  script Opengrid - avatar key and name speaker trainz 1 1,090 12-14-2011, 05:21 AM
Last Post: Anarchist_Labs
Photo Script Opensim - Texture Carte Map trainz 1 1,111 12-14-2011, 05:18 AM
Last Post: Anarchist_Labs
Star Script OPENGRID - Paticle Fire Orange trainz 1 1,336 11-12-2011, 04:04 AM
Last Post: LordJames
  Script Opensim - Texture UUID trainz 0 994 11-05-2011, 08:59 PM
Last Post: trainz
Brick Script opengrid - sim info trainz 0 962 11-05-2011, 08:31 PM
Last Post: trainz



Users browsing this thread: 1 Guest(s)