Difference between revisions of "User:ANSI Soderstrom"

From Second Life Wiki
Jump to navigation Jump to search
Line 1: Line 1:
i am alive !
i am alive !


[[https://wiki.secondlife.com/w/index.php?title=User:ANSI_Soderstrom|Simple_Copy_Protection]]
[[https://wiki.secondlife.com/w/index.php?title=User:ANSI_Soderstrom|Simple Copy Protection]]




Line 9: Line 9:




[[#Simple_Copy_Protection|Simple Copy Protection]]
[[#Simple_Copy_Protection|Simple Copy Protection]] for your Scripts (best give away as no mod) :
Simple Copy Protection for your Scripts (best give away as no mod) :


<lsl>
<lsl>

Revision as of 12:19, 20 February 2010

i am alive !

[Copy Protection]




Simple Copy Protection for your Scripts (best give away as no mod) :

<lsl> // Simple Copy Protection for your Items // (C) 10/2009 ANSI Soderstrom

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, ANSI Soderstrom");
           // llDie();
       } else {
           state online;
       }      
   }
   on_rez(integer i) {
       llResetScript();
   }

}

state online {

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

} </lsl>