AVsitter/AVsitter1/Root.lsl
2017-07-31 17:43:31 +10:00

32 lines
1,012 B
Text

/*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* Copyright (c) the AVsitter Contributors (http://avsitter.github.io)
* AVsitter™ is a trademark. For trademark use policy see:
* https://avsitter.github.io/TRADEMARK.mediawiki
*
* Please consider supporting continued development of AVsitter and
* receive automatic updates and other benefits! All details and user
* instructions can be found at http://avsitter.github.io
*/
string script_basename = "AVsit";
default
{
touch_start(integer touched)
{
llResetTime();
}
touch_end(integer touched)
{
if (llGetLinkNumber() == 1)
{
if (!(llGetInventoryType(script_basename) == INVENTORY_SCRIPT))
{
llMessageLinked(LINK_ALL_OTHERS, 90005, (string)llGetTime(), llDetectedKey(0));
}
}
}
}