Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Scripts needed...

Shannon Kaffebaum
Registered User
Join date: 1 Jun 2008
Posts: 42
01-12-2009 14:37
Hi guys, I have searched the forums, inworld and OnRez / xstreet but to no avail (probably using the wrong search terms) I am looking for a script, 2 actually and can't seem to find them anywhere. The first I know is available, but I can't find it...

What I need is a group invite script, so for example, if a person touches the entrance door, or walks over a certain spot, a HUD menu pops up inviting that AV to join the group.

The second is the one I'm not sure exists, so if i explain what i want to do, it may be more use. What I am looking for is a script to be placed in an object, that when touched, brings up a HUD menu offering the user a list, allowing them to select which notecard they would like to be delivered.

If anyone knows of where these are available I would be extremely grateful. I don't have a clue where to start really so any help is appreciated! I can also be contacted inworld, all IMs go to my mail if I am offline.

Thank you,

Shannon
Winter Seale
Registered User
Join date: 27 Dec 2006
Posts: 30
01-12-2009 17:01
Really you might have better luck in Products Wanted. Now if you have a specific question about how to do one of these things, we're here to help! =)

Edit: And I see you did that. =p And as the person said there, the group invite thing requires a bot. The other thing is pretty easy but I don't know of any like, non-scripter friendly scripts of that. They might exist but being a scripter I've never looked for them. =p
Nexii Malthus
[Cubitar]Mothership
Join date: 24 Apr 2006
Posts: 400
01-12-2009 18:34
Hum, I know there is a trick of using a url to tell the client to pop up a profile of a person or group etc. You could give that in a chat message. More convenient than an annoying blue dialog popup.
_____________________

Geometric Library, for all your 3D maths needs.
https://wiki.secondlife.com/wiki/Geometric

Creator of the Vertical Life Client
shenanigan Oh
Registered User
Join date: 28 Apr 2007
Posts: 13
01-12-2009 23:30
For the second script you are looking for you can make a easy dialog where it setup for anyone to touch the object and a menu will come up with list of note cards witch they can pick from.

CODE

Example
list main_menu = ["Weapon Help","Groups to join","how make money"]
// This list is use so when someone touch a object a dialog comes up with this list :P

listen(integer channel,string name,key id,string message)
{
if(message == "Groups to Join")
{
llGiveInventory(llGetOwner(),"Groups to Join");
//This will give the person requesting the notecard make sure notecard has right name also that it's in side the object

}

touch_start(integer total_number)
{
if(llDetectedKey(0) == NULL_KEY())
{
llDialog(llDetectedKey(0),"Pick a notecard :P",main_menu,menuChannel);
}
}
}