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

LSL Wiki : AvatarKeyScript

HomePage :: PageIndex :: RecentChanges :: RecentlyCommented :: UserSettings :: You are crawl338.us.archive.org
I know some scripts require avatar key input...and most of the time, you don't know what the avatar's key you're looking for is! So here's a basic script to get you rolling.

default
{
    touch_start(integer number)
    {
        llOwnerSay("The key to who touched me is: " +(string)llDetectedKey(0));
    }
}

Here is the exact same basic script except in collision form...great for finding the key of an object.

default
{
    collision_start(integer number)
    {
        llSay(0, "The key to who (or what) hit me is: " +(string)llDetectedKey(0));
    }
}
There is no comment on this page. [Display comments/form]