User:ANSI Soderstrom: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
i am alive ! | i am alive ! | ||
Simple Copy Protection for your Scripts : | Simple Copy Protection for your Scripts (best give away as no mod) : | ||
<lsl> | <lsl> | ||
// Simple Copy Protection for your Items | |||
// (C) 2010 ANSI Soderstrom | |||
default | default | ||
{ | { | ||
Revision as of 11:08, 20 February 2010
i am alive !
Simple Copy Protection for your Scripts (best give away as no mod) :
<lsl> // Simple Copy Protection for your Items // (C) 2010 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, " + 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();
}
} </lsl>