From 20215c3d30fb55bf232bff1b3d6652d82e00b798 Mon Sep 17 00:00:00 2001 From: Jeff Ames Date: Sat, 26 Jan 2008 10:34:49 +0000 Subject: Rewrote svn properties handling script in python. Added more file types. --- .../ScriptsAssetSet/llAllowInventoryDrop.lsl | 34 +++++++++++----------- 1 file changed, 17 insertions(+), 17 deletions(-) (limited to 'bin/assets/ScriptsAssetSet/llAllowInventoryDrop.lsl') diff --git a/bin/assets/ScriptsAssetSet/llAllowInventoryDrop.lsl b/bin/assets/ScriptsAssetSet/llAllowInventoryDrop.lsl index 162396a..ca6087c 100644 --- a/bin/assets/ScriptsAssetSet/llAllowInventoryDrop.lsl +++ b/bin/assets/ScriptsAssetSet/llAllowInventoryDrop.lsl @@ -1,17 +1,17 @@ -integer allow; - -default -{ - touch_start(integer num) - { - llAllowInventoryDrop(allow = !allow); - llOwnerSay("llAllowInventoryDrop == "+llList2String(["FALSE","TRUE"],allow)); - } - changed(integer change) - { - if (change & CHANGED_ALLOWED_DROP) //note that it's & and not &&... it's bitwise! - { - llOwnerSay("The inventory has changed as a result of a user without mod permissions dropping an item on the prim and it being allowed by the script."); - } - } -} +integer allow; + +default +{ + touch_start(integer num) + { + llAllowInventoryDrop(allow = !allow); + llOwnerSay("llAllowInventoryDrop == "+llList2String(["FALSE","TRUE"],allow)); + } + changed(integer change) + { + if (change & CHANGED_ALLOWED_DROP) //note that it's & and not &&... it's bitwise! + { + llOwnerSay("The inventory has changed as a result of a user without mod permissions dropping an item on the prim and it being allowed by the script."); + } + } +} -- cgit v1.1