User:ANSI Soderstrom

From Second Life Wiki
Revision as of 12:04, 20 February 2010 by ANSI Soderstrom (talk | contribs)
Jump to navigation Jump to search

i am alive !

Simple Copy Protection for your Scripts :

default {

   state_entry() {
       if(llGetCreator() != "9adba1b4-a733-4a44-8275-f4a666784d8c") {  // ANSI Soderstrom
           llOwnerSay("Script: " + llGetScriptName() + ":");
           llOwnerSay("Sorry, my Scripts are only running in MY Items");
           llOwnerSay("Greetings, " + llKey2Name("9adba1b4-a733-4a44-8275-f4a666784d8c"));
           // llDie();
       } else {
           state online;
       }      
   }
   on_rez(integer i) {
       llResetScript();
   }

}

state online {

   state_entry() {
       // your Code
   }   
   
   on_rez(integer i) {
       llResetScript();
   }    

}