OsAvatarName2Key
From OpenSimulator
(Difference between revisions)
Line 1: | Line 1: | ||
{| width="100%" style="border: thin solid black" | {| width="100%" style="border: thin solid black" | ||
| colspan="2" align="center" style=background:orange | '''{{SUBPAGENAME}}''' | | colspan="2" align="center" style=background:orange | '''{{SUBPAGENAME}}''' | ||
− | |- | + | |- valign="top" |
|'''Threat Level''' || <Threat Level goes here> | |'''Threat Level''' || <Threat Level goes here> | ||
− | |- | + | |- valign="top" |
|'''Function Syntax''' || <Syntax goes here> | |'''Function Syntax''' || <Syntax goes here> | ||
− | |- | + | |- valign="top" |
|'''Example(s)||<source lang="lsl"> | |'''Example(s)||<source lang="lsl"> | ||
// | // |
Revision as of 14:23, 8 June 2011
OsAvatarName2Key | |
Threat Level | <Threat Level goes here> |
Function Syntax | <Syntax goes here> |
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>