Don't click here unless you want to be banned.

LSL Wiki : Basic Security Prim

HomePage :: PageIndex :: RecentChanges :: RecentlyCommented :: UserSettings :: You are crawl422.us.archive.org
This is a very basic Security prim that, when an avatar walks through it, it will send the owner an Instant Message notification of the infilitrator.

//Basic Security Script designed by KingHenrik Lundquist
default
{
    state_entry()
    {
        //llSetAlpha(0.0); //Un-comment to make the prim invisible; WARNING: hard to fix position when invisible, in order to see invisible prims, hit Ctrl-Alt-T, again to disable
        llVolumeDetect(TRUE); //Makes the prim phantom
    }

    collision_start(integer num_detected)
    {
        string perp = llDetectedName(0); //gets the name of the infiltrator
        llInstantMessage(llGetOwner(), perp+" is in your building."); //sends the message
    }
}
Comments [Hide comments/form]
Please redo this page without spaces for the title to make the link valid. ie: BasicSecurityPrim
-- SiRiSAsturias (2007-11-27 22:27:18)
Attach a comment to this page: