Talk:N2K

From Second Life Wiki
Revision as of 08:49, 23 November 2011 by Kira Komarov (talk | contribs)
Jump to navigation Jump to search

Needs "Resident" as a last name for newer names?

Thanks so much. This is a great help.

However, the only way I could get it to work for my newer alts (that is, ones with only one name) was to change it to <lsl> default {

   link_message(integer sender_num, integer num, string str, key id) {
       lReqNum = sender_num;
       if(llGetListLength(llParseString2List(str,[" "],[""]))==1){//test for legacy name or new one
           str+=" Resident";//if it's a new name
       }
      // llOwnerSay(str);
       kReq = str;
       state kn2k;
   }

} </lsl> Innula Zenovka 08:50, 22 November 2011 (PST)

No problem. Yes, very true. "new members" *do* have second names. It's just that they are all "Resident". In fact, if you pass the _full name_ to the script (including the "Resident" last name), it would work out of the box. Added a note, ty.

Kira Komarov 08:47, 23 November 2011 (PST)