OsAvatarName2Key

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
m
Line 3: Line 3:
 
|- valign="top"
 
|- valign="top"
 
|'''Threat Level''' || <Threat Level goes here>
 
|'''Threat Level''' || <Threat Level goes here>
 +
 
|- valign="top"
 
|- valign="top"
|'''Function Syntax''' || <Syntax goes here>
+
|'''Function Syntax''' || <source lang="lsl">
 +
osAvatarName2Key(string FirstName, string LastName);
 +
</source>
 
|- valign="top"
 
|- valign="top"
 
|'''Example(s)||<source lang="lsl">  
 
|'''Example(s)||<source lang="lsl">  
Line 26: Line 29:
 
}
 
}
 
</source>
 
</source>
 +
 
|}
 
|}
<Additional info/content goes here>
 
  
<!-- Edited with Kate -->
+
<Additional info/content goes here>
  
 
[[Category:OSSL Functions]]
 
[[Category:OSSL Functions]]
 
[[Category:OSSL functions without threat level]]
 
[[Category:OSSL functions without threat level]]
[[Category:OSSL functions without function syntax]]
 

Revision as of 11:51, 11 June 2011

OsAvatarName2Key
Threat Level <Threat Level goes here>
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