llOwnerSay/pt

From Second Life Wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Summary

Function: llOwnerSay( string msg );

Diz a mensagem apenas para o proprietário.

• string msg

Caveats

  • Se a mensagem for maior que 1023 bytes, ela será truncada para 1023 bytes.
  • Falha silenciosamente 45 segundos depois que o proprietário deixar a região que o objeto está.
  • Falha silenciosamente quando um objeto que contem o script está doado para um grupo.
All Issues ~ Search JIRA for related Bugs

Examples

<lsl>default {

   touch_start(integer total_number)
   {
       llOwnerSay("Olá!" );
   }
}</lsl>

Useful Snippets

<lsl> //-- llOwnerSay extensão para prevenir falhas silenciosas

//-- Cole este script no topo do codigo e substitua
//-- Todas as chamadas para llOwnerSay estão abaixo com uOwnerSayPlus

uOwnerSayPlus( string vStrMsg ){ key owner = llGetOwner(); if (llKey2Name( owner )){ llOwnerSay( vStrMsg ); //-- único proprietário que a região ainda mantem uma ligação }else if (llList2Key( llGetObjectDetails( llGetKey(), [OBJECT_GROUP] ), 0 ) == owner){ llWhisper( 0, "/me : " +vStrMsg ); //-- pertence ao grupo, deve enviar mensagem ao público }else{ llInstantMessage( owner, vStrMsg ); //-- único proprietário, não presente, deve enviar um MI } }</lsl>

See Also

Functions

•  llRegionSay Envia no chat para toda a região
•  llWhisper Envia no chat limitado a 10 metros
•  llSay Envia no chat limitado a 20 metros
•  llShout Envia no chat limitado a 100 metros
•  llInstantMessage

Articles

•  Limits SL limits and constrictions

Deep Notes

Search JIRA for related Issues

Tests

• llOwnerSay Test

Signature

function void llOwnerSay( string msg );