Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Group invite script... wanna set it to another group than lang group

Karine Koba
Registered User
Join date: 22 Feb 2007
Posts: 167
02-16-2008 20:13
Here is the script.



group key is 4d222763-b36c-9fc9-c6dc-02105c0f26c1


I would like not to have to set the object to the same group as the one set to my lands. Is there any way I could add the group key in the script instead of the script reading the group that the object is set to?

Thanks!
Karine Koba
Registered User
Join date: 22 Feb 2007
Posts: 167
02-16-2008 20:26
Found it ;p

string GroupKey = "4d222763-b36c-9fc9-c6dc-02105c0f26c1";

string GroupName = "Averlast Boxing";


default
{
touch_start(integer total_number)
{
llInstantMessage(llDetectedKey(0),"Open history (Ctrl-H), then click the following link to join " + GroupName + ": secondlife:///app/group/" + GroupKey + "/about";);
}

state_entry()
{
llSetText("Click me for a group invite to " + GroupName,<0.337,0.671,1>,1);
}

on_rez(integer param)
{
llSetText("Click me for a group invite to " + GroupName,<0.337,0.671,1>,1);
}
}