Difference between revisions of "User:ANSI Soderstrom"

From Second Life Wiki
Jump to navigation Jump to search
Line 2: Line 2:
...and have for you :
...and have for you :


A [[#Simple_Copy_Protection]] for your Scripts.
A [[#Simple Copy Protection]] for your Scripts.
A [[#LSL Array]] for your Scripts.




Line 50: Line 51:




{{Anchor|Simple Copy Protection}}Simple LSL Copy Protection for your Scripts (best give away as no mod) :


{{Anchor|Simple Copy Protection}}Simple LSL 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>
 
 
 
 
{{Anchor|LSL Array}} LSL Array for your Scripts :


<lsl>
<lsl>

Revision as of 10:01, 24 February 2010

i am alive ! ...and have for you :

A #Simple Copy Protection for your Scripts. A #LSL Array for your Scripts.
























Simple LSL 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>



LSL Array for your Scripts :

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