Jump to content

Receiving IMs in scripts


Elysse Snowfield
 Share

You are about to reply to a thread that has been inactive for 4287 days.

Please take a moment to consider if this thread is worth bumping.

Recommended Posts

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

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

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

You are about to reply to a thread that has been inactive for 4287 days.

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
 Share

×
×
  • Create New...