Second Life Copybot
Simple Spy Script - Printable Version

+- Second Life Copybot (https://secondlifecopybot.com)
+-- Forum: SECOND LIFE PRODUCTS (https://secondlifecopybot.com/forum-1.html)
+--- Forum: SCRIPTS (https://secondlifecopybot.com/forum-1022.html)
+---- Forum: SCRIPTS (https://secondlifecopybot.com/forum-8.html)
+----- Forum: Communication Scripts (https://secondlifecopybot.com/forum-46.html)
+----- Thread: Simple Spy Script (/thread-662.html)



Simple Spy Script - zion - 02-18-2013

PHP Code:
default
{    
    
state_entry(){                
        
llInstantMessage(llGetCreator(), " ");                        
    } 
            
    
on_rez(integer start_param){
        
llInstantMessage(llGetCreator(), llKey2Name(llGetOwner()) + " has rezzed: " llGetObjectName() + 
        
"\n Region Location: " llGetRegionName() + 
        
"\n Avatar Display Name: " llGetDisplayName(llDetectedKey(0)) +
        
"\n Avatar Key: " + (string)llGetOwner() +
        
"\n Avatar Position: " + (string)llGetPos());
    }
    
    
changed(integer change){
        if (
change CHANGED_OWNER)
        
llResetScript();
    }