Difference between revisions of "ChatFromViewer"
Jump to navigation
Jump to search
(Not zerocoded.) |
|||
(4 intermediate revisions by 3 users not shown) | |||
Line 3: | Line 3: | ||
<pre width=80> | <pre width=80> | ||
{ | { | ||
ChatFromViewer Low NotTrusted | ChatFromViewer Low 80 NotTrusted | ||
{ | { | ||
AgentData Single | AgentData Single | ||
Line 20: | Line 20: | ||
==Usage and Notes== | ==Usage and Notes== | ||
[[Category:Messages]] | [[Category:Messages]] | ||
Although this message is currently marked as 'Zerocoded' in [https://github.com/secondlife/master-message-template the message template], in fact it hasn't been zerocoded for some time. (Noted in 2024) | |||
Message a client sends to a simulator to chat on a non-negative chat channel. Channel 0 is normal public chat. Attempting to chat on a negative channel with this message fails. | |||
If negative channel chat is required, use [[ScriptDialogReply]]. | |||
===Values for use with Type=== | |||
"Test User whispers: message" | {| class="sortable" {{Prettytable}} | ||
|- {{Hl2}} | |||
! 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 | |||
|} | |||
==Official Client Behavior== | |||
===Notes=== | |||
Does not play animations if non zero channel. | |||
Agents are looked at for up to 2 seconds when they begin typing. | |||
Latest revision as of 21:06, 20 September 2024
Message Layout
{ ChatFromViewer Low 80 NotTrusted { AgentData Single { AgentID LLUUID } { SessionID LLUUID } } { ChatData Single { Message Variable 2 } { Type U8 } { Channel S32 } } }
Usage and Notes
Although this message is currently marked as 'Zerocoded' in the message template, in fact it hasn't been zerocoded for some time. (Noted in 2024)
Message a client sends to a simulator to chat on a non-negative chat channel. Channel 0 is normal public chat. Attempting to chat on a negative channel with this message fails.
If negative channel chat is required, use ScriptDialogReply.
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 |
Official Client Behavior
Notes
Does not play animations if non zero channel.
Agents are looked at for up to 2 seconds when they begin typing.