woroschilow Posted March 16, 2019 Share Posted March 16, 2019 Hello, is it possible to get a group invitation looking like in the screenshot by clicking on an object? How to achieve that? Regards Link to comment Share on other sites More sharing options...
Rachel1206 Posted March 16, 2019 Share Posted March 16, 2019 (edited) The easy way: llSay( 0, "Click this link: secondlife:///app/group/GROUP_KEY/about \n"); Where you find the key value of GROUP_KEY by view info on a given group. More advanced example can be studied on the wiki // group join inviter Documentation on API can be found here: World API The above example looks like based on experience, hence to popup box seen. Edited March 16, 2019 by Rachel1206 Link to comment Share on other sites More sharing options...
ItHadToComeToThis Posted March 16, 2019 Share Posted March 16, 2019 2 hours ago, woroschilow said: You need to look at : http://wiki.secondlife.com/wiki/LlListen http://wiki.secondlife.com/wiki/LlDialog and when you have created your dialog you basically make it output a llSay(0,"secondlife:///app/group/GROUP_KEY/about"); Link to comment Share on other sites More sharing options...
steph Arnott Posted March 16, 2019 Share Posted March 16, 2019 (edited) No, basically. You can create a dialog drop down box but the invite itself will still be presented in the chat field. It may be different with 'experience'. You have to set the object to group share. integer menu_chan = -4567; integer menu_chan_handle; key agent; default { state_entry() { llSetObjectName("Meine Gruppe"); } touch_start(integer total_number) { agent = llDetectedKey(0); if(total_number > 1 ) { return;//just in case others click it will the timer is running } else { //agent = llDetectedKey(0); menu_chan_handle = llListen(menu_chan, "", agent, ""); llDialog(agent, "\nSie sind eingeladen, der Gruppe beizutreten." + "\nBitte klicken Sie auf Ja, um zu akzeptieren," + "\noder Nein, um dies abzulehnen.", ["Ja", "Nein" ], menu_chan); llSetTimerEvent(10.0); } } listen(integer chan, string name, key id, string msg) { if (msg == "Nein") { llListenRemove(menu_chan_handle); llSetTimerEvent(0.0); } else if(msg == "Ja") { list temp = llGetObjectDetails(llGetKey(), [OBJECT_GROUP]); key groupKey = llList2Key(temp, 0); llRegionSayTo(agent,0,"secondlife:///app/group/" + (string) groupKey + "/about"); llListenRemove(menu_chan_handle); llSetTimerEvent(0.0); } } timer() { llListenRemove(menu_chan_handle); llSetTimerEvent(0.0); } } Edited due to an unsupport error. Edited March 16, 2019 by steph Arnott 1 Link to comment Share on other sites More sharing options...
Wulfie Reanimator Posted March 16, 2019 Share Posted March 16, 2019 5 hours ago, Rachel1206 said: The above example looks like based on experience, hence to popup box seen. It's a teleport offer from an avatar, not a group invite. Similarly, the real group invite dialog can only be created by an avatar sending a direct group invite. You would need a bot for this, otherwise you're stuck with chat links even with an Experience. 1 Link to comment Share on other sites More sharing options...
steph Arnott Posted March 16, 2019 Share Posted March 16, 2019 8 minutes ago, Wulfie Reanimator said: It's a teleport offer from an avatar, not a group invite. Similarly, the real group invite dialog can only be created by an avatar sending a direct group invite. You would need a bot for this, otherwise you're stuck with chat links even with an Experience. Do you actually read what is written? quote ' is it possible to get a group invitation looking like in the screenshot by clicking on an object? ' notice this part 'looking like in the screenshot'. Link to comment Share on other sites More sharing options...
Recommended Posts
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