Elysse Snowfield Posted July 30, 2012 Share Posted July 30, 2012 Is there really no way for a script (in a HUD) to receive IMs intended for the interactive user? I was looking for ways to create an IM auto-responder in a HUD. Any alternatives for this specific application? It seems strange that scripts can send but not receive IMs. Thanks for any suggestions. Link to comment Share on other sites More sharing options...
Amethyst Jetaime Posted July 30, 2012 Share Posted July 30, 2012 No there is no way to do this. From the LSL Wiki about scripting and Instant Messages "Instant Messaging has the benefit of allowing communication from an object to an avatar anywhere in the Grid. The downside is that an object cannot receive an Instant Message, therefore an avatar cannot send an Instant Message to an object. It's a one-way communication avenue. Also, the two-second script delay can be considered a downside in some applications." Link to comment Share on other sites More sharing options...
Rolig Loon Posted July 30, 2012 Share Posted July 30, 2012 Strange it may be, but that's the way LSL works. Objects can send IMs, but not receive them. You'll have to use e-mail or HTTP if your objects are not in the same sim. You can also cheat by passing notes. Use llGiveInventory to send an object or notecard and then have the receiving object's script read the name (and/ or description field) of the new item and interpret it as a message. If objects are in the same sim, you can use llRegionSay or (better) llRegionSayTo as well as the normal range of chat commands. Link to comment Share on other sites More sharing options...
Elysse Snowfield Posted July 30, 2012 Author Share Posted July 30, 2012 Thanks, I just wanted to make sure, because some auto-translators claim to work with IMs. They mention something about copy & paste. I'm guessing they expect you to do that with each IM received, unless they figured out something clever to automate this. Link to comment Share on other sites More sharing options...
Innula Zenovka Posted July 30, 2012 Share Posted July 30, 2012 All the translators I've seen that say they work with IMs "work" by having you copy/paste the text of the IM (or to typel what you want to send) on a non-zero channel and then providing the translation via llOwnerSay 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