OsAvatarName2Key

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
m
Line 2: Line 2:
 
| colspan="2" align="center" style=background:orange | '''{{SUBPAGENAME}}'''
 
| colspan="2" align="center" style=background:orange | '''{{SUBPAGENAME}}'''
 
|- valign="top"
 
|- valign="top"
|'''Threat Level''' || <Threat Level goes here>
+
|'''Threat Level''' || Low
  
 
|- valign="top"
 
|- valign="top"
Line 35: Line 35:
  
 
[[Category:OSSL Functions]]
 
[[Category:OSSL Functions]]
[[Category:OSSL functions without threat level]]
 

Revision as of 12:00, 11 June 2011

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