Don't click here unless you want to be banned.

LSL Wiki : llWhisper

HomePage :: PageIndex :: RecentChanges :: RecentlyCommented :: UserSettings :: You are crawl338.us.archive.org
llWhisper(integer channel, string text)

Whispers text on channel. llWhisper range is a 10m radius sphere.

Note: A long string for text will be truncated to 1023 bytes.

Example:
llWhisper(0, "Hello Avatar!");
Chat Output:
Hello, Avatar!

Like avatars, objects can use "/me" on channel 0. Thus, if an object named "Your dog" had a script with the line:
llWhisper(0, "/me wants steak.");
The chat output would be:
Your dog wants steak.

Scripts with listens will get the text without "/me". In the above example, a script listening on channel 0 would get the message "wants steak". There is currently no way for a script to see if the speaker has said "/me".

constants

DEBUG_CHANNEL 2147483647

If using this function to only communicate information back to the script owner, please consider using llOwnerSay instead, to help reduce chat spam (available as of SL 1.6).

Q: Why doesn't my object pick up it's own spoken chat text in listen()?
A: Objects do not 'hear' themselves talk. This helps prevent infinite loops which would probably happen often if objects could hear themselves. For example, if your script returned a message saying 'Unknown command', you could go into an infinite loop easily if you didn't filter out 'Unknown command'. This applies to all of the local chat functions: llWhisper, llSay, and llShout.

Compare with llSay, llShout, llOwnerSay, llInstantMessage, and llMessageLinked


This article wasn't helpful for you? Maybe the related article at the LSL Portal is able to bring enlightenment.

Functions | Chat | Listens | Communications Jasa SEO Jasa SEO Murah Sepatu Online Toko Sepatu Online Sepatu Sepatu Murah Sepatu Safety Sepatu Futsal Cheapes Hostgator Coupon Link Booking Televisori offerte Notebook Offerte Berita Terkini Internet Marketer Muda Internet Marketer Indonesia Portatile Apple RDAnet Lorks Karikatur Bisnis Modal Kecil Bisnis UKM Berita Terbaru Iklan Baris Jasa SEO Jasa SEO Murah SEO Indonesia Konsultan SEO SEO Belajar SEO Kursus SEO Kursus SEO Murah Jam Tangan Casio Jam Tangan Casio Jam Tangan Murah Jam Tangan Grosir Baju Terbaru Grosir Baju Baju Terbaru Grosir Baju Murah Bisnis Online Belajar SEO Kerupuk Kerupuk kulit Social Bookmark Dofollow Social Bookmark Kumpulan Puisi Kirim Puisi bola hantu Penumbuh Rambut Penumbuh Rambut timbangan WBC Wonogiri Jasa SEO Murah Jasa SEO Jam Tangan Murah
There are 4 comments on this page. [Display comments/form]