Difference between revisions of "ChatFromViewer"

From Second Life Wiki
Jump to navigation Jump to search
Line 24: Line 24:
===Values for use with Type===
===Values for use with Type===


 
{| class="sortable" {{Prettytable}}
Whisper = 0
|- {{Hl2}}
 
! ChatType
5m radius
! Value
 
! Notes
"Test User whispers: message"
|-
 
| Whisper
 
| 0
Normal = 1
| 5m radius - "Test User whispers: message"
 
|-
10/20m radius
| Normal
 
| 1
"Test User: message"
| 10/20m radius - "Test User: message"
 
|-
 
| Shout
Shout = 2
| 2
 
| 100m radius - "Test User shouts: message"
100m radius
|-
 
| Say
"Test User shouts: message"
| 3
 
| Not sure if this is used for anything - "Test User say, message"
 
|-
Say = 3
| StartTyping
 
| 4
Not sure if this is used for anything
| Lets others know you are typing
 
|-
"Test User say, message"
| StopTyping
 
| 5
 
| Lets others know you've stopped typing
StartTyping = 4
|-
 
| Debug
Lets others know you are typing
| 6
 
| Unknown
 
|}
StopTyping = 5
 
Lets others know you've stopped typing
 
 
Debug = 6
 
(Unknown)

Revision as of 15:18, 4 May 2008

Message Layout

{
	ChatFromViewer Low NotTrusted Zerocoded
	{
		AgentData			Single
		{	AgentID			LLUUID		}
		{	SessionID		LLUUID		}
	}
	{
		ChatData			Single
		{	Message			Variable 2	}
		{	Type			U8			}
		{	Channel			S32			}
	}
}

Usage and Notes

Message a client sends to a simulator to chat on a non-negative chat channel. Channel 0 is normal public chat.

Values for use with Type

ChatType Value Notes
Whisper 0 5m radius - "Test User whispers: message"
Normal 1 10/20m radius - "Test User: message"
Shout 2 100m radius - "Test User shouts: message"
Say 3 Not sure if this is used for anything - "Test User say, message"
StartTyping 4 Lets others know you are typing
StopTyping 5 Lets others know you've stopped typing
Debug 6 Unknown