Chris Knox
Member
Join date: 22 Apr 2004
Posts: 40
|
10-31-2004 11:40
If anyone can do this, or heard of this being done, let me know.
And I'm not looking to spam people with it.
Edit: More Explained
|
Zuzi Martinez
goth dachshund
Join date: 4 Sep 2004
Posts: 1,860
|
10-31-2004 12:50
make a folder of calling cards, right click the folder and IM them all. oh, and put me on your do-not-call list. 
|
Eggy Lippmann
Wiktator
Join date: 1 May 2003
Posts: 7,939
|
10-31-2004 12:51
It's not rocket science to IM a list of AV *keys* but there is no way to get an avatar's key from its name, unless they are nearby, in which case you can use a sensor, or a listener, or something else. Assuming you already have their keys in a list called avList: integer total=llGetListLength(avList);
for(i=0; i<total; i++) { llInstantMessage(llList2Key(avList, i), "BLAHBLAHBLAHBLAHBLAH"); }
(NB: Please do not IM me about this in-world, I am not available for help or hire. Thank you.)
|
Chris Knox
Member
Join date: 22 Apr 2004
Posts: 40
|
10-31-2004 14:14
unfortunatly i do not have the keys, nor do i have the calling cards.
|
Malachi Petunia
Gentle Miscreant
Join date: 21 Sep 2003
Posts: 3,414
|
10-31-2004 15:36
From: Chris Knox unfortunatly i do not have the keys, nor do i have the calling cards. Then I'm guessing that the intended recipients a) don't want to hear from you; b) wouldn't pay attention; and/or c) would be annoyed. Or, put another way, if you want to send IMs to people you haven't met and aren't nearby then you might just be a spammer.
|
Chris Knox
Member
Join date: 22 Apr 2004
Posts: 40
|
10-31-2004 15:55
From: Malachi Petunia you might just be a spammer. May the SL gods strike you down for that incredible slander upon my name.
|
Malachi Petunia
Gentle Miscreant
Join date: 21 Sep 2003
Posts: 3,414
|
10-31-2004 16:20
Sorry, please replace "spammer" with "asset to the community" in my last post. Amazing how a little typographical error on my part changes the meaning so greatly. 
|
Daemioth Sklar
Lifetime Member
Join date: 30 Jul 2003
Posts: 944
|
10-31-2004 16:22
If you do not have the person's calling card and have not met them personally then you should not be sending out IMs to them, unless they are private and personal and unique each time. Despite claiming not to spam, this sounds exactly like a step in the direction of spamming. Can you clear up your reasoning behind needing a script like this so that you -don't- look like a spammer?
|
Rysidian Rubio
Ruby Red Head
Join date: 14 Jan 2004
Posts: 263
|
11-01-2004 20:45
I'm going to give you the benefit of the doubt here, and assume that you aren't a spammer (i guess i'm just in a good mood today) Here's a sample script that will IM a list of users (their keys, not names), but only after they have clicked a prim (and therefore given their permission to recieve the IM's). The list of users is limited to the memory of the script, so I have no idea how many keys it will hold. Feel free to mod it as you see fit. (except to make it spam) //Subscriber IM Script
//This script send an IM to subscribers. //Users simply click it to add themselves to the list. //and click again to remove.
//The owner clicks the prim then says the text that he wants //sent to the subscribers. //say "reset" to have the list reset.
key owner; integer integer1;
list subscribers = [];
default { state_entry() { owner = llGetOwner(); } touch_start(integer num_detected) { key avatar = llDetectedKey(0); if(avatar == owner) {//if the owner, then listen to the message that the owner says llSay(0, llKey2Name(owner) + " Please say the message you would like to send to the subscribers"); llListenRemove(listen1); listen1 = llListen(0,"",owner,""); } else { integer listcheck = llListFindList(subscribers,[avatar]); if (listcheck == -1) {//if user is not on list, add them, and tell them they have been added. subscribers = subscribers + avatar; llSay(0, llKey2Name(avatar) + " You have been added to the list of subscribers, click me again to remove yourself from the list" ); } else {//id user IS on the list, remove them, and tell them they have been removed. subscribers = llDeleteSubList(subscribers,listcheck,listcheck); llSay(0, llKey2Name(avatar) + " You have been removed from the list of subscribers" ); } } } listen(integer channel, string name, key id, string message) { llListenRemove(listen1); //check if the owner wants to reset the list. if(llToLower(message) == "reset") llResetScript(); //send IM's containing the listened text to everyone in the list. integer length = llGetListLength(subscribers); integer i; for (i = 0; i < length; i++) { llInstantMessage(llList2Key(subscribers,i),message); } llSay(0, "Done sending IM's"); } }
|