OsAvatarName2Key

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
Line 21: Line 21:
 
[[Category:OSSL]]
 
[[Category:OSSL]]
 
[[Category:OSSL functions without threat level]]
 
[[Category:OSSL functions without threat level]]
 +
[[Category:OSSL functions without function syntax]]

Revision as of 08:35, 8 June 2011

//
 // 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");    
   }
 }
Personal tools
General
About This Wiki