User:Toy Wylie/RLV Documentation/chatnormal: Difference between revisions
Jump to navigation
Jump to search
Liace Parx (talk | contribs) No edit summary |
Liace Parx (talk | contribs) No edit summary |
||
| Line 1: | Line 1: | ||
{{Template:RLV_Documentation/Command | {{Template:RLV_Documentation/Command | ||
|command=@chatnormal|type=Restriction | |command=@chatnormal|type=Restriction | ||
|usage=@chatnormal=y | |usage=#@chatnormal=y | ||
#@chatnormal=n | |||
@chatnormal=n | |||
|purpose=When prevented (@chatnormal=n), the avatar will whisper even when the user tries to shout or chat normally. This does not change the message in any way, only its range. | |purpose=When prevented (@chatnormal=n), the avatar will whisper even when the user tries to shout or chat normally. This does not change the message in any way, only its range. | ||
|version=1.15 | |version=1.15 | ||
|seealso=chatshout | |seealso=chatshout chatwhisper | ||
|example=<lsl>integer normalChat = TRUE; | |example=<lsl>integer normalChat = TRUE; | ||
Revision as of 08:26, 7 July 2010
@chatnormal
Type
Restriction
Implemented
Implemented since RLV version 1.15
Usage
#@chatnormal=y
- @chatnormal=n
Purpose
When prevented (@chatnormal=n), the avatar will whisper even when the user tries to shout or chat normally. This does not change the message in any way, only its range.
See Also
Example
<lsl>integer normalChat = TRUE;
default {
touch_start(integer total_number)
{
if (llDetectedKey(0) != llGetOwner()) return;
normalChat = 1-normalChat;
if(normalChat)
{
llOwnerSay("@chatnormal=y");
}
else
{
llOwnerSay("@chatnormal=n");
}
}
}
</lsl>