OsAvatarName2Key

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
m (some syntax modification (may be major or minor))
Line 23: Line 23:
 
</source>
 
</source>
  
|description=
+
|description=Returns an avatar's UUID, based on his/her first and last name.
 
|
 
|
 
}}
 
}}

Revision as of 10:49, 30 July 2011

string osAvatarName2Key(string FirstName, string LastName)
Returns an avatar's UUID, based on his/her first and last name.
Threat Level Low
Permissions No permissions specified
Extra Delay No function delay specified
Example(s)
//
// Sample Script using osAvatarName2Key(first,last) to send Instant Message
// 
 
string FirstName = "John";
string LastName = "Smith";
default
{
   state_entry()
   {
       llSay(0, "Script running");
   }
   touch_end(integer num)
   {
       kAvatarKey = osAvatarName2Key(FirstName, LastName);
       llInstantMessage(kAvatarKey, "Test Message Here");    
   }
}
Personal tools
General
About This Wiki