OsAvatarName2Key
From OpenSimulator
(Difference between revisions)
Line 17: | Line 17: | ||
} | } | ||
} | } | ||
+ | |||
+ | |||
+ | [[Category:OSSL]] |
Revision as of 18:41, 17 November 2010
// // 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"); } }