User:Toy Wylie/RLV Documentation/emote

From Second Life Wiki
Jump to navigation Jump to search


@emote

Type

Exception

Implemented

Implemented since RLV version 1.01

Usage

@emote=<add/rem>

Purpose

When adding this exception (@emote=add), the emotes are not truncated anymore (however, special signs will still discard the message).


Example

<lsl>integer emotes = TRUE;

default {

   touch_start(integer total_number)
   {
       if (llDetectedKey(0) != llGetOwner()) return;

       emotes = 1-emotes;

       if(emotes)
       {
           llOwnerSay("@emote=add");
           llSay(0, "Emotes unrestricted.");
       }
       else
       {
           llOwnerSay("@emote=rem");
           llSay(0, "Emotes will be truncated.");
       }
   }

}

</lsl>