OsAvatarName2Key

From OpenSimulator

Revision as of 12:00, 11 June 2011 by Fritigern (Talk | contribs)

Jump to: navigation, search
OsAvatarName2Key
Threat Level Low
Function Syntax
osAvatarName2Key(string FirstName, string LastName);
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");    
   }
}

<Additional info/content goes here>

Personal tools
General
About This Wiki