diff options
author | Jeff Ames | 2008-01-26 10:34:49 +0000 |
---|---|---|
committer | Jeff Ames | 2008-01-26 10:34:49 +0000 |
commit | 20215c3d30fb55bf232bff1b3d6652d82e00b798 (patch) | |
tree | 19fce94014cafb1a235b3874b7bde8bc92767415 /bin/assets/ScriptsAssetSet/llAllowInventoryDrop.lsl | |
parent | Removed ScriptServer.csproj from svn. (diff) | |
download | opensim-SC_OLD-20215c3d30fb55bf232bff1b3d6652d82e00b798.zip opensim-SC_OLD-20215c3d30fb55bf232bff1b3d6652d82e00b798.tar.gz opensim-SC_OLD-20215c3d30fb55bf232bff1b3d6652d82e00b798.tar.bz2 opensim-SC_OLD-20215c3d30fb55bf232bff1b3d6652d82e00b798.tar.xz |
Rewrote svn properties handling script in python. Added more file types.
Diffstat (limited to '')
-rw-r--r-- | bin/assets/ScriptsAssetSet/llAllowInventoryDrop.lsl | 34 |
1 files changed, 17 insertions, 17 deletions
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 @@ | |||
1 | integer allow; | 1 | integer allow; |
2 | 2 | ||
3 | default | 3 | default |
4 | { | 4 | { |
5 | touch_start(integer num) | 5 | touch_start(integer num) |
6 | { | 6 | { |
7 | llAllowInventoryDrop(allow = !allow); | 7 | llAllowInventoryDrop(allow = !allow); |
8 | llOwnerSay("llAllowInventoryDrop == "+llList2String(["FALSE","TRUE"],allow)); | 8 | llOwnerSay("llAllowInventoryDrop == "+llList2String(["FALSE","TRUE"],allow)); |
9 | } | 9 | } |
10 | changed(integer change) | 10 | changed(integer change) |
11 | { | 11 | { |
12 | if (change & CHANGED_ALLOWED_DROP) //note that it's & and not &&... it's bitwise! | 12 | if (change & CHANGED_ALLOWED_DROP) //note that it's & and not &&... it's bitwise! |
13 | { | 13 | { |
14 | 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."); | 14 | 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."); |
15 | } | 15 | } |
16 | } | 16 | } |
17 | } | 17 | } |