User:Toy Wylie/RLV Documentation/emote

From Second Life Wiki
< User:Toy Wylie‎ | RLV Documentation
Revision as of 07:03, 7 July 2010 by Liace Parx (talk | contribs) (Created page with '{{Template:RLV_Documentation/Command |command=@emote|type=Exception |usage=@emote=add @emote=rem |purpose=When adding this exception (@emote=add), the emotes are not truncated a...')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


@emote

Type

Exception

Implemented

Implemented since RLV version 1.01

Usage

@emote=add @emote=rem

Purpose

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


See Also

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 allowed.");
       }
       else
       {
           llOwnerSay("@emote=rem");
           llSay(0, "Emotes no longer allowed.");
       }
   }

}

</lsl>