Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Listener or similar reacting to received IMs?

Vladen Corvale
Registered User
Join date: 22 Oct 2007
Posts: 3
05-11-2009 03:26
Firstly, I tried to search around forums and wikis, didn't find anything... either I didn't search good enough or this hasn't been asked before.

With that aside...

What I wanted to do was have a script react to IMs received by someone. Something similar to what what is usually done with listeners, but that could work across simulators... the only communication that does that are IMs.

Unfortunately I think there's no way to do that, but if there is and someone can enlighten me I'd be glad.
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
05-11-2009 03:40
prims can't recieve IM's, even of the crappy llInstantMessage variety (in fact there's a bug about that going straight to the receiving prims owner's email if LL has one on file, regardless of online status or settings)

however llEmail DOES work for inter-sim communication between objects, so you can use a say from an av to a local prim and then send that via e-mail to another prim in a different sim.
_____________________
|
| . "Cat-Like Typing Detected"
| . This post may contain errors in logic, spelling, and
| . grammar known to the SL populace to cause confusion
|
| - Please Use PHP tags when posting scripts/code, Thanks.
| - Can't See PHP or URL Tags Correctly? Check Out This Link...
| -
Vladen Corvale
Registered User
Join date: 22 Oct 2007
Posts: 3
05-11-2009 03:50
Yeah I knew the part about prims not receiving IMs, was thinking more something like a script to "forward" an IM received by the avatar to an object or the like.

The llEmail idea is pretty interesting, though.... but I think the delay might kill the purpose since it would need a quick response time. I might give it a try to see how it goes anyways.

Thanks for the quick reply and suggestion :)
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
05-11-2009 04:47
you can make multiple mailer sub scripts and pass the messages off to them in order to get around the delays, although 2 seconds between sends for conversation isn't really that bad.

there are still some hard limits to how many e-mails an object can send in x amount of time.
_____________________
|
| . "Cat-Like Typing Detected"
| . This post may contain errors in logic, spelling, and
| . grammar known to the SL populace to cause confusion
|
| - Please Use PHP tags when posting scripts/code, Thanks.
| - Can't See PHP or URL Tags Correctly? Check Out This Link...
| -
Boreal Latte
Registered User
Join date: 15 Nov 2007
Posts: 104
05-11-2009 08:35
From: Vladen Corvale
Yeah I knew the part about prims not receiving IMs, was thinking more something like a script to "forward" an IM received by the avatar to an object or the like.

I have never heard of a way to intercept an IM to an avatar from a lsl script. Hence no way to farward it. I think many would be worried if that was possible - IM's are normally treated as a (relatively) safe communication channel.
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
05-11-2009 10:14
custom client could do it.
_____________________
|
| . "Cat-Like Typing Detected"
| . This post may contain errors in logic, spelling, and
| . grammar known to the SL populace to cause confusion
|
| - Please Use PHP tags when posting scripts/code, Thanks.
| - Can't See PHP or URL Tags Correctly? Check Out This Link...
| -
Briana Dawson
Attach to Mouth
Join date: 23 Sep 2003
Posts: 5,855
05-11-2009 12:55
This could be done outside of SL using an Apache server. But you would be monitoring the IMs of one specific person, not any random person who wore a scripted object since the outside server has to monitor a log directory via http, and then send the data you are looking for back into SL.
_____________________
WooT
------------------------------

http://www.secondcitizen.net/Forum/
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
05-11-2009 13:02
From: Briana Dawson
This could be done outside of SL using an Apache server. But you would be monitoring the IMs of one specific person, not any random person who wore a scripted object since the outside server has to monitor a log directory via http, and then send the data you are looking for back into SL.

I think OP only intended listening to SL IM's
_____________________
|
| . "Cat-Like Typing Detected"
| . This post may contain errors in logic, spelling, and
| . grammar known to the SL populace to cause confusion
|
| - Please Use PHP tags when posting scripts/code, Thanks.
| - Can't See PHP or URL Tags Correctly? Check Out This Link...
| -
Vladen Corvale
Registered User
Join date: 22 Oct 2007
Posts: 3
05-11-2009 13:44
It's not even about listening in to other people's messages or intercepting them, the idea was to have IMs sent to me or someone else using it be "listened" to for triggers. Sort of a way to work around the fact objects can't be IM'd... you would IM an avatar with a trigger, the IM would be listened to and the trigger forwarded to an object or something like that to execute whatever function.

No spy stuff or privacy breaches, just a way to let something worn by someone be able to react to IMs from a variable amount of people at once even across sims.
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
05-11-2009 23:45
unfortunately, no can do without some client customization.
_____________________
|
| . "Cat-Like Typing Detected"
| . This post may contain errors in logic, spelling, and
| . grammar known to the SL populace to cause confusion
|
| - Please Use PHP tags when posting scripts/code, Thanks.
| - Can't See PHP or URL Tags Correctly? Check Out This Link...
| -
Hewee Zetkin
Registered User
Join date: 20 Jul 2006
Posts: 2,702
05-12-2009 00:46
Right. Either some kind of custom client, or--for offline IMs sent to e-mail only--an e-mail filter outside of SL.
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
05-12-2009 01:02
hah there ya go, (and now I understand briannas sugesttion)... redirect ofline IM's from email back to a prim inworld... heck several services have auto fwding, you wouldn't even need a server of your own...
_____________________
|
| . "Cat-Like Typing Detected"
| . This post may contain errors in logic, spelling, and
| . grammar known to the SL populace to cause confusion
|
| - Please Use PHP tags when posting scripts/code, Thanks.
| - Can't See PHP or URL Tags Correctly? Check Out This Link...
| -