clockwerk-opensim-config – Blame information for rev
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | eva | 1 | integer allow; |
2 | |||
3 | default |
||
4 | { |
||
5 | touch_start(integer num) |
||
6 | { |
||
7 | llAllowInventoryDrop(allow = !allow); |
||
8 | llOwnerSay("llAllowInventoryDrop == "+llList2String(["FALSE","TRUE"],allow)); |
||
9 | } |
||
10 | changed(integer change) |
||
11 | { |
||
12 | if (change & CHANGED_ALLOWED_DROP) //note that it's & and not &&... it's bitwise! |
||
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."); |
||
15 | } |
||
16 | } |
||
17 | } |