// Simple script to say the events as they occur.
default
{
state_entry ()
{
llSay (0, "state_entry");
}
on_rez (integer start_parameter)
{
llSay (0, "on_rez");
}
touch_start (integer total_number)
{
llSay (0, "touch_start");
}
attach (key Avatar)
{
if (NULL_KEY == Avatar)
{
llSay (0, "attach - detached");
}
else
{
llSay (0, "attach - attached");
}
}
changed (integer Change)
{
if (Change & CHANGED_LINK)
{
llSay (0, "changed - link");
}
if (Change & CHANGED_OWNER)
{
llSay (0, "changed - owner");
}
}
}
Examples |
Events