Jump to content

Script to join a group that is NOT the group the poster is rezzed with


Chic Aeon
 Share

You are about to reply to a thread that has been inactive for 595 days.

Please take a moment to consider if this thread is worth bumping.

Recommended Posts

Came across this in my inventory and may help you. You drop this into a prim and put the group's uuid into the prim's description(or you can hard code it if you're knowledgable enough to). -Logan

findgroupkey()
{
    list TempList = llGetObjectDetails(llGetKey(), [OBJECT_GROUP]);
    key groupkey = llList2Key(TempList, 0);
    if (groupkey == NULL_KEY)
    {
        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/" + (string) groupkey + "/about");
    }
}
 
default
{
    state_entry()
    {
        llSetText("Touch to Join\nour Group", <1, 1, 1>, 1.0); // white and opaque floating text, optional
        findgroupkey();
    }
 
    touch_start(integer total_number)
    {
        findgroupkey();
    }
}

 

  • Thanks 1
Link to comment
Share on other sites

Thanks everyone. I will work on it.  

 

EDIT: I couldn't get Rolig's script changed correctly even with some tinkering but the one on the Marketplace did what I wanted it to do and lots more that I didn't need. Oddly there is only ONE review that you can see on the Marketplace listing so I couldn't go from any info there. I just took a chance.  

 

So all good now and thanks again. 

Edited by Chic Aeon
adding info
Link to comment
Share on other sites

OK.  A very EASY answer. Easy is good.

  The Marketplace script from oh so long ago worked but seemed to have an issue so by accident I found a very easy way to do this (duh).  If you right click the group name in your groups folder there is an option to 
Copy SL to Clipboard

 

That gives you all the info you need OR just put your group UUID (listed in the group pane now at least in Firestorm) into this script.  I tested it a lot and it seems to work well. Posting here for others.  Basically I used the default script that shows up when you add a script inside a prim :D.  Not a script person but I have been forced into it now and then by necessity.  

 

default
{
    state_entry()
    {
        llSay(0, "Ready");
    }

    touch_start(integer total_number)
    {
        llSay(0, "Click this link in your Chat History to Join.  secondlife:///app/group/9fd1faeb-4a4b-ef67-582a-f7fd12552a31/about");
    }
}


 

Edited by Chic Aeon
spelling
  • Like 1
  • Thanks 1
Link to comment
Share on other sites

20 minutes ago, Chic Aeon said:

OK.  A very EASY answer. Easy is good.

  The Marketplace script from oh so long ago worked but seemed to have an issue so by accident I found a very easy way to do this (duh).  If you right click the group name in your groups folder there is an option to 
Copy SL to Clipboard

 

That gives you all the info you need OR just put your group UUID (listed in the group pane now at least in Firestorm) into this script.  I tested it a lot and it seems to work well. Posting here for others.  Basically I used the default script that shows up when you add a script inside a prim :D.  Not a script person but I have been forced into it now and then by necessity.  

 

default
{
    state_entry()
    {
        llSay(0, "Ready");
    }

    touch_start(integer total_number)
    {
        llSay(0, "Click this link in your Chat History to Join.  secondlife:///app/group/9fd1faeb-4a4b-ef67-582a-f7fd12552a31/about");
    }
}


 

Having the user "click to join" is a lot better than just adding them!

Link to comment
Share on other sites

You are about to reply to a thread that has been inactive for 595 days.

Please take a moment to consider if this thread is worth bumping.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...