Hi everybody.
I want to make an script that IMs a group, is it possible to know the key id of a group?
Thanks.
These forums are CLOSED. Please visit the new forums HERE
Group Key |
|
|
Azul Wilder
Registered User
Join date: 29 Jan 2007
Posts: 87
|
05-16-2007 04:59
Hi everybody.
I want to make an script that IMs a group, is it possible to know the key id of a group? Thanks. _____________________
First goes before
AW Devices |
|
Squirrel Wood
Nuteater. Beware!
Join date: 14 Jun 2006
Posts: 471
|
05-16-2007 05:53
To my knowledge that is not possible.
|
|
Sys Slade
Registered User
Join date: 15 Feb 2007
Posts: 626
|
05-16-2007 09:50
Can't recall at the moment how to get the group key, but from messing around with IMing groups from objects, it might not be worth it.
Every time I tried it, it came through as an email even while I was online. Objects can't receive IMs, which is probably why they don't open the normal IM window. If it is a small group of people you wish to IM, use multiple copies of a script that takes a linked message and sends an IM, triggering each one in turn as needed and allow for the appropriate delay. This will prevent your main script being locked up for the 2-3 seconds IM sending delays for. _____________________
Send me the last 4 digits of a valid SSN, I'll verify you are who you say you are, even if you aren't.
|
|
Azul Wilder
Registered User
Join date: 29 Jan 2007
Posts: 87
|
05-16-2007 10:49
It is a big group with a big amount of people in it.
That's why I wanted to do it in that way. There must be a way to get the id of the group and using llInstantMessage to IM everybody in the group. I've been checking the wiki and I don't find how to do it, but it doesn't mean that it is not possible to do it. Thanks a lot anyway. _____________________
First goes before
AW Devices |
|
Travis Lambert
White dog, red collar
Join date: 3 Jun 2004
Posts: 2,819
|
05-16-2007 10:51
It is possible to get a group key with a script. Just lookup the owner's key on an object owned by that group.
It is not currently possible to IM an entire group with a script. As said above, your only option is to create a manual list of people you want to IM, and cycle* through that instead. *Note that llInstantMessage() has a built in one-second delay to it. Unless you utilize some creative multi-threading, the more names you want to IM, the longer its going to take to process. _____________________
------------------
The Shelter The Shelter is a non-profit recreation center for new residents, and supporters of new residents. Our goal is to provide a positive & supportive social environment for those looking for one in our overwhelming world. |
|
Talarus Luan
Ancient Archaean Dragon
Join date: 18 Mar 2006
Posts: 4,831
|
05-16-2007 10:52
It is easy to get a group key; just do llOwnerSay((string)llGetOwner()); in an object deeded to the group in question.
That said, there is absolutely nothing you can do with said group key once you have it, including sending Group IMs. Likely, that would be abused heavily as a griefing tool, so they wisely did not implement it. |
|
Travis Lambert
White dog, red collar
Join date: 3 Jun 2004
Posts: 2,819
|
05-16-2007 10:57
That said, there is absolutely nothing you can do with said group key once you have it, including sending Group IMs. Likely, that would be abused heavily as a griefing tool, so they wisely did not implement it. Actually, there are a few things you can do with that group key, but you're essentially right - for the most part its useless. I used to use it to send me a warning message if a group-owned parcel was no longer owned by that group, by getting the group key, and periodically checking to make sure the owner of the parcel matched that group key. If it ever changed, it would send me a warning email. Granted though, that's quite an edge case ![]() _____________________
------------------
The Shelter The Shelter is a non-profit recreation center for new residents, and supporters of new residents. Our goal is to provide a positive & supportive social environment for those looking for one in our overwhelming world. |
|
Talarus Luan
Ancient Archaean Dragon
Join date: 18 Mar 2006
Posts: 4,831
|
05-16-2007 11:02
Yeah, the point was that there is no built-in functionality which makes use of it. *You* have it, and can do with it whatever you wish; however, LSL doesn't care and gives you no functionality to do anything with it.
I'm kinda surprised they even bother to give it to you, rather than NULL_KEY, really, but I guess it has some use for people in your situation or similar. |
|
Azul Wilder
Registered User
Join date: 29 Jan 2007
Posts: 87
|
05-16-2007 11:31
ok, thanx for your explanation.
My intention was to make an script that listens to one of those Lucky Chairs, since they say the new letter and then sending an IM to one or more groups where there are people interested in this kind of things. A friend of mine has a shop of female clothing and she told me that it takes a lot fo ppl to her shop and increases her sales, so I thought that maybe I could help her in that way. Ok, thanks a lot dudes _____________________
First goes before
AW Devices |
|
Sys Slade
Registered User
Join date: 15 Feb 2007
Posts: 626
|
05-17-2007 03:08
Just retested sending to a group, it appears to not only send through email regardless of if you're online, but also only send to a single member of the group (the founder).
You could set up an external communication if you think it's worth the effort. Have the object use llEmail or llHTTPRequest, get the message to a webserver and then display on a webpage or use php/perl to interface with MSN/IRC/whatever. _____________________
Send me the last 4 digits of a valid SSN, I'll verify you are who you say you are, even if you aren't.
|