LlGetOwner

De DigiWiki.

llOwnerSay( (string)llGetOwner()); // speaks in chat the "key" (UUID code) of the avatar.
llOwnerSay( llKey2Name(llGetOwner())); // speaks in chat the name of the owner if in the sim.
default
{
    state_entry()
    {
        llInstantMessage(llGetOwner(), "Only you can hear me. Isn't that eerie.");
    }
 
    changed(integer change)
    {
        if (change & CHANGED_OWNER)
            llResetScript();
    }
}
Outils personnels
  • Cette page a été consultée 539 fois.
donate
Google Ads