OsAvatarName2Key

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
m (some format conversions)
m (some syntax modification (may be major or minor))
Line 1: Line 1:
 
{{osslfunc
 
{{osslfunc
 
|threat_level=Low
 
|threat_level=Low
|function_syntax=osAvatarName2Key(string FirstName, string LastName);
+
|function_syntax=string osAvatarName2Key(string FirstName, string LastName)
 
|ossl_example=<source lang="lsl">  
 
|ossl_example=<source lang="lsl">  
 
//
 
//

Revision as of 02:27, 2 July 2011

string osAvatarName2Key(string FirstName, string LastName)
No descriptions provided
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