User:Toy Wylie/RLV Documentation/chatwhisper
From Second Life Wiki
Second Life Wiki > Toy Wylie/RLV Documentation/chatwhisper
@chatwhisper
Purpose
When prevented (@chatwhisper=n), the avatar will chat normally even when the user tries to whisper. This does not change the message in any way, only its range.
Example
integer whisperChat = TRUE; default { touch_start(integer total_number) { if (llDetectedKey(0) != llGetOwner()) return; whisperChat = 1-whisperChat; if(whisperChat) { llOwnerSay("@chatwhisper=y"); llSay(0, "Chat restrictions are lifted."); } else { llOwnerSay("@chatwhisper=n"); llSay(0, "Chat is now restricted to normal."); } } }

