02-18-2013, 03:16 AM
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();
}
}