Comment and formatting changes; no actual code changes.
- Add spaces between functions. - Add comments on numeric codes and a few others. - Reformat lists and one function. - Remove spaces at EOL. - Use actual copyright symbol.
This commit is contained in:
parent
ef3adcce5e
commit
2488349a1b
26 changed files with 500 additions and 203 deletions
|
@ -3,23 +3,26 @@
|
|||
* 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)
|
||||
* Copyright © 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
|
||||
*/
|
||||
|
||||
|
||||
/*
|
||||
* Simple script used for updating a large number of furniture items at once
|
||||
* This script goes in each furniture prim that expects an update from the sender
|
||||
* will auto-delete if a non-admin avatar rezzes the furniture
|
||||
*/
|
||||
|
||||
|
||||
integer pin = -29752;
|
||||
|
||||
// Enter the list of allowed avatar UUIDs here.
|
||||
list admin_avatars = ["b30c9262-9abf-4cd1-9476-adcf5723c029", "f2e0ed5e-6592-4199-901d-a659c324ca94"];
|
||||
|
||||
default
|
||||
{
|
||||
state_entry()
|
||||
|
@ -38,6 +41,7 @@ default
|
|||
llSetRemoteScriptAccessPin(pin);
|
||||
llListen(pin, "", "", "");
|
||||
}
|
||||
|
||||
timer()
|
||||
{
|
||||
if (llGetLinkNumber() == 0 || llGetLinkNumber() == 1 && llGetInventoryType("[AV]object") != INVENTORY_SCRIPT)
|
||||
|
@ -49,6 +53,7 @@ default
|
|||
}
|
||||
llSetTimerEvent(10);
|
||||
}
|
||||
|
||||
on_rez(integer start)
|
||||
{
|
||||
if (start)
|
||||
|
@ -61,6 +66,7 @@ default
|
|||
llRemoveInventory(llGetScriptName());
|
||||
}
|
||||
}
|
||||
|
||||
listen(integer chan, string name, key id, string msg)
|
||||
{
|
||||
if (llGetOwnerKey(id) == llGetOwner())
|
||||
|
@ -84,6 +90,7 @@ default
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
changed(integer change)
|
||||
{
|
||||
if (change & CHANGED_OWNER)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue