OsAvatarName2Key

From OpenSimulator

Revision as of 12:28, 16 November 2009 by WhiteStar (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

// // 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