User:Akinori Kimagawa

From Second Life Wiki
Revision as of 12:51, 15 March 2010 by Akinori Kimagawa (talk | contribs) (Created page with 'My favorite script im using right now is my displayer script im so fond of and here it is <lsl> //Scripting By Akinori Kimagawa feel free to change the titles and commands...enjo...')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

My favorite script im using right now is my displayer script im so fond of and here it is <lsl> //Scripting By Akinori Kimagawa feel free to change the titles and commands...enjoy this script

string title; string line1; string line2; string line3; string line4; string line5; string line6; update() { llSetText("["+title"+] "+"[line1 title:"+line1+"] "+"[line2 title:"+line2+"] "+"[line3 title:"+line3+"] "+"[line4 title:"+line4+"] "+"[line5 title:"+line5+"] "+"[line6 title:"+line6+"]" ,<1,1,1>,50); } default {

   state_entry()
   {
       llListen(0,"","","");
       llListen(11,"","","");
       llSetTimerEvent(-0.1);
   }
   timer()
   {
       update();

}

   listen(integer chnl,string name2,key id,string msg)

{

   if(chnl == 0)
   {
   if(id == llGetOwner())
   {
    list parse = llParseString2List(msg,["."],[]);

string cmnd = llList2String(parse,0); string part = llList2String(parse,1);

if(cmnd == "stitle") {

   title = part;

} if(cmnd == "sline1") {

   line1 = part;
   llSetObjectName(part);

} if(cmnd == "sline2") {

   line2 = part;

} if(cmnd == "sline3") {

   line3 = part;

} if(cmnd == "sline4") {

   line4 = part;

} if(cmnd == "sline5") {

   line5 = part;

} if(cmnd == "sline6") {

   line6 = part;
   }
  }
 }
}      

} </lsl>