G General

Chat Extender

Chat Extender
Details
Features
Contents
Reviews

This LSL script is a Chat Extender (Relay) designed to repeat local chat over a longer distance, ensuring people across a large area can still hear the conversation.

Project Summary: Chat Extender
The script listens to local chat within a specific range of the object and "relays" those messages directly to other avatars in the area. It includes Smart Echo Protection: it will not send a repeated message to someone who is already close enough to the speaker to hear the original chat (within 20 meters), preventing annoying double-chat.

Menu & Controls
The system is controlled by the owner via a touch-activated dialog menu and text box:

ON/OFF: Toggles the relay system. When "OFF," the script stops listening and repeating chat.

Set Range: Opens a text box where the owner can enter a distance in meters (e.g., 40, 60, 100). This defines how far the "ears" of the object reach and how far it sends the relayed messages.

Close: Simply exits the menu to save script resources.

Key Features
Selective Relaying: It uses llRegionSayTo to send messages privately to each avatar, which is more efficient than shouting.

Identification: Relayed messages are prefixed with a special character (») so listeners know the text is coming from the extender.

Infinite Loop Protection: The script is programmed to ignore its own messages and any message containing the relay symbol to prevent a chat "feedback loop."

  • script
  • lsl
  • control menu