Difference between revisions of "User:Toy Wylie/RLV Documentation/emote"

From Second Life Wiki
Jump to navigation Jump to search
(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...')
 
m (usage fix)
 
Line 1: Line 1:
{{Template:RLV_Documentation/Command
{{Template:RLV_Documentation/Command
|command=@emote|type=Exception
|command=@emote|type=Exception
|usage=@emote=add
|usage=@emote=<add/rem>
 
@emote=rem
|purpose=When adding this exception (@emote=add), the emotes are not truncated anymore (however, special signs will still discard the message).  
|purpose=When adding this exception (@emote=add), the emotes are not truncated anymore (however, special signs will still discard the message).  
|version=1.01
|version=1.01
|seealso=rediremote
|seealso=sendchat redirchat rediremote
|example=<lsl>integer     emotes = TRUE;
|example=<lsl>integer emotes = TRUE;
   
   
default
default
Line 20: Line 18:
         {
         {
             llOwnerSay("@emote=add");
             llOwnerSay("@emote=add");
             llSay(0, "Emotes allowed.");
             llSay(0, "Emotes unrestricted.");
         }
         }
         else
         else
         {
         {
             llOwnerSay("@emote=rem");
             llOwnerSay("@emote=rem");
             llSay(0, "Emotes no longer allowed.");
             llSay(0, "Emotes will be truncated.");
         }
         }
     }
     }

Latest revision as of 08:42, 7 July 2010


@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>