hello
possible d avoir ce script qui donne le groupe automatiquement a l arrivé avec une fenêtre bleue ? et qui ne donne plus une fois que l on a le groupe
merky
string groupkey;
findgroupkey(key user)
{
list a = llGetObjectDetails(llGetKey(), [OBJECT_GROUP]);
groupkey = llList2String(a,0);
if (groupkey == "057642bd-c175-9a31-99a5-f8611f8747e2")
{
llWhisper(0, "Set the Group for this object in EDIT under the GENERAL tab and be sure your Group is Open Enrollment.");
}
else
{
if (user == NULL_KEY)
{
llWhisper(0, "Click the link from Chat History (Ctrl+H) and then click on JOIN button! secondlife:///app/group/" + groupkey + "/about");
}
else
{
llInstantMessage(user, "Click the link from Chat History (Ctrl+H) and then click on JOIN button! secondlife:///app/group/" + groupkey + "/about");
}
}
}
default
{
state_entry()
{
//llSetText("", <1,1,1>, 1.0); //Floating Text, edit or remove
findgroupkey(NULL_KEY);
}
collision_start(integer total_number)
{
findgroupkey(llDetectedKey(0));
}
}
|