aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/bin/assets/ScriptsAssetSet
diff options
context:
space:
mode:
authorJeff Ames2008-01-26 10:34:49 +0000
committerJeff Ames2008-01-26 10:34:49 +0000
commit20215c3d30fb55bf232bff1b3d6652d82e00b798 (patch)
tree19fce94014cafb1a235b3874b7bde8bc92767415 /bin/assets/ScriptsAssetSet
parentRemoved ScriptServer.csproj from svn. (diff)
downloadopensim-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 'bin/assets/ScriptsAssetSet')
-rw-r--r--bin/assets/ScriptsAssetSet/llAbs.lsl14
-rw-r--r--bin/assets/ScriptsAssetSet/llAcos.lsl16
-rw-r--r--bin/assets/ScriptsAssetSet/llAddToLandBanList.lsl168
-rw-r--r--bin/assets/ScriptsAssetSet/llAddToLandPassList.lsl168
-rw-r--r--bin/assets/ScriptsAssetSet/llAdjustSoundVolume.lsl26
-rw-r--r--bin/assets/ScriptsAssetSet/llAllowInventoryDrop.lsl34
-rw-r--r--bin/assets/ScriptsAssetSet/llAngleBetween.lsl22
-rw-r--r--bin/assets/ScriptsAssetSet/llApplyImpulse.lsl32
-rw-r--r--bin/assets/ScriptsAssetSet/llAsin.lsl18
-rw-r--r--bin/assets/ScriptsAssetSet/llAtan2.lsl22
-rw-r--r--bin/assets/ScriptsAssetSet/llAvatarOnSitTarget.lsl40
-rw-r--r--bin/assets/ScriptsAssetSet/llBase64ToString.lsl16
-rw-r--r--bin/assets/ScriptsAssetSet/llRemoveFromLandBanList.lsl168
-rw-r--r--bin/assets/ScriptsAssetSet/llRemoveFromLandPassList.lsl168
-rw-r--r--bin/assets/ScriptsAssetSet/llResetLandBanList.lsl168
-rw-r--r--bin/assets/ScriptsAssetSet/llResetLandPassList.lsl168
-rw-r--r--bin/assets/ScriptsAssetSet/llSay.lsl14
-rw-r--r--bin/assets/ScriptsAssetSet/llSetParcelMusicURL.lsl14
-rw-r--r--bin/assets/ScriptsAssetSet/llSetRot.lsl26
19 files changed, 651 insertions, 651 deletions
diff --git a/bin/assets/ScriptsAssetSet/llAbs.lsl b/bin/assets/ScriptsAssetSet/llAbs.lsl
index aa39395..2b37584 100644
--- a/bin/assets/ScriptsAssetSet/llAbs.lsl
+++ b/bin/assets/ScriptsAssetSet/llAbs.lsl
@@ -1,7 +1,7 @@
1default 1default
2{ 2{
3 state_entry() 3 state_entry()
4 { 4 {
5 llOwnerSay("The absolute value of -4 is: "+(string)llAbs(-4) ); 5 llOwnerSay("The absolute value of -4 is: "+(string)llAbs(-4) );
6 } 6 }
7} 7}
diff --git a/bin/assets/ScriptsAssetSet/llAcos.lsl b/bin/assets/ScriptsAssetSet/llAcos.lsl
index da30a0d..5450bc0 100644
--- a/bin/assets/ScriptsAssetSet/llAcos.lsl
+++ b/bin/assets/ScriptsAssetSet/llAcos.lsl
@@ -1,8 +1,8 @@
1default 1default
2{ 2{
3 state_entry() 3 state_entry()
4 { 4 {
5 float r = llFrand(2) - 1.0; 5 float r = llFrand(2) - 1.0;
6 llOwnerSay("The arccosine of " + (string)r + " is " + llAcos(r)); 6 llOwnerSay("The arccosine of " + (string)r + " is " + llAcos(r));
7 } 7 }
8} 8}
diff --git a/bin/assets/ScriptsAssetSet/llAddToLandBanList.lsl b/bin/assets/ScriptsAssetSet/llAddToLandBanList.lsl
index 19ad704..f2df357 100644
--- a/bin/assets/ScriptsAssetSet/llAddToLandBanList.lsl
+++ b/bin/assets/ScriptsAssetSet/llAddToLandBanList.lsl
@@ -1,84 +1,84 @@
1//Commands are: 1//Commands are:
2///5 ban:full_avatar_name 2///5 ban:full_avatar_name
3///5 tempban:full_avatar_name 3///5 tempban:full_avatar_name
4///5 unban:full_avatar_name 4///5 unban:full_avatar_name
5///5 pass:full_avatar_name 5///5 pass:full_avatar_name
6///5 unpass:full_avatar_name 6///5 unpass:full_avatar_name
7///5 clearban 7///5 clearban
8///5 clearpass 8///5 clearpass
9 9
10string command; 10string command;
11 11
12default 12default
13{ 13{
14 state_entry() 14 state_entry()
15 { 15 {
16 llListen(5, "", llGetOwner(), ""); 16 llListen(5, "", llGetOwner(), "");
17 } 17 }
18 18
19 on_rez(integer param) 19 on_rez(integer param)
20 { 20 {
21 llResetScript(); 21 llResetScript();
22 } 22 }
23 23
24 listen(integer chan, string name, key id, string message) 24 listen(integer chan, string name, key id, string message)
25 { 25 {
26 if (command != "") 26 if (command != "")
27 { 27 {
28 llOwnerSay("Sorry, still processing last command, try again in a second."); 28 llOwnerSay("Sorry, still processing last command, try again in a second.");
29 } 29 }
30 30
31 list args = llParseString2List(message,[":"],[]); 31 list args = llParseString2List(message,[":"],[]);
32 command = llToLower(llList2String(args,0)); 32 command = llToLower(llList2String(args,0));
33 33
34 if (command == "clearbans") 34 if (command == "clearbans")
35 { 35 {
36 llResetLandBanList(); 36 llResetLandBanList();
37 } 37 }
38 if (command == "clearpass") 38 if (command == "clearpass")
39 { 39 {
40 llResetLandPassList(); 40 llResetLandPassList();
41 } 41 }
42 else 42 else
43 { 43 {
44 llSensor(llList2String(args,1),NULL_KEY,AGENT,96,PI); 44 llSensor(llList2String(args,1),NULL_KEY,AGENT,96,PI);
45 } 45 }
46 } 46 }
47 47
48 no_sensor() 48 no_sensor()
49 { 49 {
50 command = ""; 50 command = "";
51 } 51 }
52 52
53 sensor(integer num) 53 sensor(integer num)
54 { 54 {
55 integer i; 55 integer i;
56 for (i=0; i< num; ++i) 56 for (i=0; i< num; ++i)
57 { 57 {
58 if (command == "ban") 58 if (command == "ban")
59 { 59 {
60 // Ban indefinetely 60 // Ban indefinetely
61 llAddToLandBanList(llDetectedKey(i),0.0); 61 llAddToLandBanList(llDetectedKey(i),0.0);
62 } 62 }
63 if (command == "tempban") 63 if (command == "tempban")
64 { 64 {
65 // Ban for 1 hour. 65 // Ban for 1 hour.
66 llAddToLandBanList(llDetectedKey(i),1.0); 66 llAddToLandBanList(llDetectedKey(i),1.0);
67 } 67 }
68 if (command == "unban") 68 if (command == "unban")
69 { 69 {
70 llRemoveFromLandBanList(llDetectedKey(i)); 70 llRemoveFromLandBanList(llDetectedKey(i));
71 } 71 }
72 if (command == "pass") 72 if (command == "pass")
73 { 73 {
74 // Add to land pass list for 1 hour 74 // Add to land pass list for 1 hour
75 llAddToLandPassList(llDetectedKey(i),1.0); 75 llAddToLandPassList(llDetectedKey(i),1.0);
76 } 76 }
77 if (command == "unpass") 77 if (command == "unpass")
78 { 78 {
79 llRemoveFromLandPassList(llDetectedKey(i)); 79 llRemoveFromLandPassList(llDetectedKey(i));
80 } 80 }
81 } 81 }
82 command = ""; 82 command = "";
83 } 83 }
84} 84}
diff --git a/bin/assets/ScriptsAssetSet/llAddToLandPassList.lsl b/bin/assets/ScriptsAssetSet/llAddToLandPassList.lsl
index 19ad704..f2df357 100644
--- a/bin/assets/ScriptsAssetSet/llAddToLandPassList.lsl
+++ b/bin/assets/ScriptsAssetSet/llAddToLandPassList.lsl
@@ -1,84 +1,84 @@
1//Commands are: 1//Commands are:
2///5 ban:full_avatar_name 2///5 ban:full_avatar_name
3///5 tempban:full_avatar_name 3///5 tempban:full_avatar_name
4///5 unban:full_avatar_name 4///5 unban:full_avatar_name
5///5 pass:full_avatar_name 5///5 pass:full_avatar_name
6///5 unpass:full_avatar_name 6///5 unpass:full_avatar_name
7///5 clearban 7///5 clearban
8///5 clearpass 8///5 clearpass
9 9
10string command; 10string command;
11 11
12default 12default
13{ 13{
14 state_entry() 14 state_entry()
15 { 15 {
16 llListen(5, "", llGetOwner(), ""); 16 llListen(5, "", llGetOwner(), "");
17 } 17 }
18 18
19 on_rez(integer param) 19 on_rez(integer param)
20 { 20 {
21 llResetScript(); 21 llResetScript();
22 } 22 }
23 23
24 listen(integer chan, string name, key id, string message) 24 listen(integer chan, string name, key id, string message)
25 { 25 {
26 if (command != "") 26 if (command != "")
27 { 27 {
28 llOwnerSay("Sorry, still processing last command, try again in a second."); 28 llOwnerSay("Sorry, still processing last command, try again in a second.");
29 } 29 }
30 30
31 list args = llParseString2List(message,[":"],[]); 31 list args = llParseString2List(message,[":"],[]);
32 command = llToLower(llList2String(args,0)); 32 command = llToLower(llList2String(args,0));
33 33
34 if (command == "clearbans") 34 if (command == "clearbans")
35 { 35 {
36 llResetLandBanList(); 36 llResetLandBanList();
37 } 37 }
38 if (command == "clearpass") 38 if (command == "clearpass")
39 { 39 {
40 llResetLandPassList(); 40 llResetLandPassList();
41 } 41 }
42 else 42 else
43 { 43 {
44 llSensor(llList2String(args,1),NULL_KEY,AGENT,96,PI); 44 llSensor(llList2String(args,1),NULL_KEY,AGENT,96,PI);
45 } 45 }
46 } 46 }
47 47
48 no_sensor() 48 no_sensor()
49 { 49 {
50 command = ""; 50 command = "";
51 } 51 }
52 52
53 sensor(integer num) 53 sensor(integer num)
54 { 54 {
55 integer i; 55 integer i;
56 for (i=0; i< num; ++i) 56 for (i=0; i< num; ++i)
57 { 57 {
58 if (command == "ban") 58 if (command == "ban")
59 { 59 {
60 // Ban indefinetely 60 // Ban indefinetely
61 llAddToLandBanList(llDetectedKey(i),0.0); 61 llAddToLandBanList(llDetectedKey(i),0.0);
62 } 62 }
63 if (command == "tempban") 63 if (command == "tempban")
64 { 64 {
65 // Ban for 1 hour. 65 // Ban for 1 hour.
66 llAddToLandBanList(llDetectedKey(i),1.0); 66 llAddToLandBanList(llDetectedKey(i),1.0);
67 } 67 }
68 if (command == "unban") 68 if (command == "unban")
69 { 69 {
70 llRemoveFromLandBanList(llDetectedKey(i)); 70 llRemoveFromLandBanList(llDetectedKey(i));
71 } 71 }
72 if (command == "pass") 72 if (command == "pass")
73 { 73 {
74 // Add to land pass list for 1 hour 74 // Add to land pass list for 1 hour
75 llAddToLandPassList(llDetectedKey(i),1.0); 75 llAddToLandPassList(llDetectedKey(i),1.0);
76 } 76 }
77 if (command == "unpass") 77 if (command == "unpass")
78 { 78 {
79 llRemoveFromLandPassList(llDetectedKey(i)); 79 llRemoveFromLandPassList(llDetectedKey(i));
80 } 80 }
81 } 81 }
82 command = ""; 82 command = "";
83 } 83 }
84} 84}
diff --git a/bin/assets/ScriptsAssetSet/llAdjustSoundVolume.lsl b/bin/assets/ScriptsAssetSet/llAdjustSoundVolume.lsl
index 25e90c0..4c2d397 100644
--- a/bin/assets/ScriptsAssetSet/llAdjustSoundVolume.lsl
+++ b/bin/assets/ScriptsAssetSet/llAdjustSoundVolume.lsl
@@ -1,13 +1,13 @@
1default 1default
2{ 2{
3 state_entry() 3 state_entry()
4 { 4 {
5 llListen(42, "", llGetOwner(), ""); 5 llListen(42, "", llGetOwner(), "");
6 } 6 }
7 listen(integer chan, string name, key id, string msg) 7 listen(integer chan, string name, key id, string msg)
8 { 8 {
9 float value = (float)msg; 9 float value = (float)msg;
10 llAdjustSoundVolume(value); 10 llAdjustSoundVolume(value);
11 llOwnerSay("Volume set to: " + (string)value + " of 1.0"); 11 llOwnerSay("Volume set to: " + (string)value + " of 1.0");
12 } 12 }
13} 13}
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 @@
1integer allow; 1integer allow;
2 2
3default 3default
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}
diff --git a/bin/assets/ScriptsAssetSet/llAngleBetween.lsl b/bin/assets/ScriptsAssetSet/llAngleBetween.lsl
index 441be1b..21cd851 100644
--- a/bin/assets/ScriptsAssetSet/llAngleBetween.lsl
+++ b/bin/assets/ScriptsAssetSet/llAngleBetween.lsl
@@ -1,11 +1,11 @@
1default 1default
2{ 2{
3 state_entry() 3 state_entry()
4 { 4 {
5 rotation aRot = ZERO_ROTATION; 5 rotation aRot = ZERO_ROTATION;
6 rotation bRot = llGetRot(); 6 rotation bRot = llGetRot();
7 float aBetween = llAngleBetween( aRot, bRot ); 7 float aBetween = llAngleBetween( aRot, bRot );
8 llOwnerSay((string)aBetween); 8 llOwnerSay((string)aBetween);
9 //llGetRot() being < 0, 0, 90 > this should report 1.570796 9 //llGetRot() being < 0, 0, 90 > this should report 1.570796
10 } 10 }
11} 11}
diff --git a/bin/assets/ScriptsAssetSet/llApplyImpulse.lsl b/bin/assets/ScriptsAssetSet/llApplyImpulse.lsl
index 6b2461f..add7a08 100644
--- a/bin/assets/ScriptsAssetSet/llApplyImpulse.lsl
+++ b/bin/assets/ScriptsAssetSet/llApplyImpulse.lsl
@@ -1,16 +1,16 @@
1//Rez an object, and drop this script in it. 1//Rez an object, and drop this script in it.
2//This will launch it at the owner. 2//This will launch it at the owner.
3default 3default
4{ 4{
5 state_entry() 5 state_entry()
6 { 6 {
7 list p = llGetObjectDetails(llGetOwner(), [OBJECT_POS]); 7 list p = llGetObjectDetails(llGetOwner(), [OBJECT_POS]);
8 if(p != []) 8 if(p != [])
9 { 9 {
10 llSetStatus(STATUS_PHYSICS, TRUE); 10 llSetStatus(STATUS_PHYSICS, TRUE);
11 vector pos = llList2Vector(p, 0); 11 vector pos = llList2Vector(p, 0);
12 vector direction = llVecNorm(pos - llGetPos()); 12 vector direction = llVecNorm(pos - llGetPos());
13 llApplyImpulse(direction * 100, 0); 13 llApplyImpulse(direction * 100, 0);
14 } 14 }
15 } 15 }
16} 16}
diff --git a/bin/assets/ScriptsAssetSet/llAsin.lsl b/bin/assets/ScriptsAssetSet/llAsin.lsl
index 02e9bd5..ad37ccd 100644
--- a/bin/assets/ScriptsAssetSet/llAsin.lsl
+++ b/bin/assets/ScriptsAssetSet/llAsin.lsl
@@ -1,9 +1,9 @@
1// Touch the object with this script in it to see the arcsine of random numbers! 1// Touch the object with this script in it to see the arcsine of random numbers!
2default 2default
3{ 3{
4 touch_start(integer num) 4 touch_start(integer num)
5 { 5 {
6 float r = llFrand(2) - 1.0; 6 float r = llFrand(2) - 1.0;
7 llOwnerSay("The arcsine of " + (string)r + " is " + llAsin(r)); 7 llOwnerSay("The arcsine of " + (string)r + " is " + llAsin(r));
8 } 8 }
9} 9}
diff --git a/bin/assets/ScriptsAssetSet/llAtan2.lsl b/bin/assets/ScriptsAssetSet/llAtan2.lsl
index 95e0877..9fc1c63 100644
--- a/bin/assets/ScriptsAssetSet/llAtan2.lsl
+++ b/bin/assets/ScriptsAssetSet/llAtan2.lsl
@@ -1,11 +1,11 @@
1default 1default
2{ 2{
3 state_entry() 3 state_entry()
4 { 4 {
5 float num1 = llFrand(100.0); 5 float num1 = llFrand(100.0);
6 float num2 = llFrand(100.0); 6 float num2 = llFrand(100.0);
7 llOwnerSay("y = " + (string)num1); 7 llOwnerSay("y = " + (string)num1);
8 llOwnerSay("x = " + (string)num2); 8 llOwnerSay("x = " + (string)num2);
9 llOwnerSay("The tangent of y divided by x is " + (string)llAtan2(num1, num2)); 9 llOwnerSay("The tangent of y divided by x is " + (string)llAtan2(num1, num2));
10 } 10 }
11} 11}
diff --git a/bin/assets/ScriptsAssetSet/llAvatarOnSitTarget.lsl b/bin/assets/ScriptsAssetSet/llAvatarOnSitTarget.lsl
index b4ab532..47e9588 100644
--- a/bin/assets/ScriptsAssetSet/llAvatarOnSitTarget.lsl
+++ b/bin/assets/ScriptsAssetSet/llAvatarOnSitTarget.lsl
@@ -1,20 +1,20 @@
1default 1default
2{ 2{
3 state_entry() 3 state_entry()
4 { 4 {
5 // set sit target, otherwise this will not work 5 // set sit target, otherwise this will not work
6 llSitTarget(<0.0, 0.0, 0.1>, ZERO_ROTATION); 6 llSitTarget(<0.0, 0.0, 0.1>, ZERO_ROTATION);
7 } 7 }
8 changed(integer change) 8 changed(integer change)
9 { 9 {
10 if (change & CHANGED_LINK) 10 if (change & CHANGED_LINK)
11 { 11 {
12 key av = llAvatarOnSitTarget(); 12 key av = llAvatarOnSitTarget();
13 //evaluated as true if not NULL_KEY or invalid 13 //evaluated as true if not NULL_KEY or invalid
14 if (av) 14 if (av)
15 { 15 {
16 llSay(0, "Hello " + llKey2Name(av) + ", thank you for sitting down"); 16 llSay(0, "Hello " + llKey2Name(av) + ", thank you for sitting down");
17 } 17 }
18 } 18 }
19 } 19 }
20} 20}
diff --git a/bin/assets/ScriptsAssetSet/llBase64ToString.lsl b/bin/assets/ScriptsAssetSet/llBase64ToString.lsl
index f8d4978..f0987cb 100644
--- a/bin/assets/ScriptsAssetSet/llBase64ToString.lsl
+++ b/bin/assets/ScriptsAssetSet/llBase64ToString.lsl
@@ -1,8 +1,8 @@
1default 1default
2{ 2{
3 state_entry() 3 state_entry()
4 { 4 {
5 string test = llBase64ToString("U2VjcmV0Ok9wZW4="); 5 string test = llBase64ToString("U2VjcmV0Ok9wZW4=");
6 llOwnerSay(test); 6 llOwnerSay(test);
7 } 7 }
8} 8}
diff --git a/bin/assets/ScriptsAssetSet/llRemoveFromLandBanList.lsl b/bin/assets/ScriptsAssetSet/llRemoveFromLandBanList.lsl
index 19ad704..f2df357 100644
--- a/bin/assets/ScriptsAssetSet/llRemoveFromLandBanList.lsl
+++ b/bin/assets/ScriptsAssetSet/llRemoveFromLandBanList.lsl
@@ -1,84 +1,84 @@
1//Commands are: 1//Commands are:
2///5 ban:full_avatar_name 2///5 ban:full_avatar_name
3///5 tempban:full_avatar_name 3///5 tempban:full_avatar_name
4///5 unban:full_avatar_name 4///5 unban:full_avatar_name
5///5 pass:full_avatar_name 5///5 pass:full_avatar_name
6///5 unpass:full_avatar_name 6///5 unpass:full_avatar_name
7///5 clearban 7///5 clearban
8///5 clearpass 8///5 clearpass
9 9
10string command; 10string command;
11 11
12default 12default
13{ 13{
14 state_entry() 14 state_entry()
15 { 15 {
16 llListen(5, "", llGetOwner(), ""); 16 llListen(5, "", llGetOwner(), "");
17 } 17 }
18 18
19 on_rez(integer param) 19 on_rez(integer param)
20 { 20 {
21 llResetScript(); 21 llResetScript();
22 } 22 }
23 23
24 listen(integer chan, string name, key id, string message) 24 listen(integer chan, string name, key id, string message)
25 { 25 {
26 if (command != "") 26 if (command != "")
27 { 27 {
28 llOwnerSay("Sorry, still processing last command, try again in a second."); 28 llOwnerSay("Sorry, still processing last command, try again in a second.");
29 } 29 }
30 30
31 list args = llParseString2List(message,[":"],[]); 31 list args = llParseString2List(message,[":"],[]);
32 command = llToLower(llList2String(args,0)); 32 command = llToLower(llList2String(args,0));
33 33
34 if (command == "clearbans") 34 if (command == "clearbans")
35 { 35 {
36 llResetLandBanList(); 36 llResetLandBanList();
37 } 37 }
38 if (command == "clearpass") 38 if (command == "clearpass")
39 { 39 {
40 llResetLandPassList(); 40 llResetLandPassList();
41 } 41 }
42 else 42 else
43 { 43 {
44 llSensor(llList2String(args,1),NULL_KEY,AGENT,96,PI); 44 llSensor(llList2String(args,1),NULL_KEY,AGENT,96,PI);
45 } 45 }
46 } 46 }
47 47
48 no_sensor() 48 no_sensor()
49 { 49 {
50 command = ""; 50 command = "";
51 } 51 }
52 52
53 sensor(integer num) 53 sensor(integer num)
54 { 54 {
55 integer i; 55 integer i;
56 for (i=0; i< num; ++i) 56 for (i=0; i< num; ++i)
57 { 57 {
58 if (command == "ban") 58 if (command == "ban")
59 { 59 {
60 // Ban indefinetely 60 // Ban indefinetely
61 llAddToLandBanList(llDetectedKey(i),0.0); 61 llAddToLandBanList(llDetectedKey(i),0.0);
62 } 62 }
63 if (command == "tempban") 63 if (command == "tempban")
64 { 64 {
65 // Ban for 1 hour. 65 // Ban for 1 hour.
66 llAddToLandBanList(llDetectedKey(i),1.0); 66 llAddToLandBanList(llDetectedKey(i),1.0);
67 } 67 }
68 if (command == "unban") 68 if (command == "unban")
69 { 69 {
70 llRemoveFromLandBanList(llDetectedKey(i)); 70 llRemoveFromLandBanList(llDetectedKey(i));
71 } 71 }
72 if (command == "pass") 72 if (command == "pass")
73 { 73 {
74 // Add to land pass list for 1 hour 74 // Add to land pass list for 1 hour
75 llAddToLandPassList(llDetectedKey(i),1.0); 75 llAddToLandPassList(llDetectedKey(i),1.0);
76 } 76 }
77 if (command == "unpass") 77 if (command == "unpass")
78 { 78 {
79 llRemoveFromLandPassList(llDetectedKey(i)); 79 llRemoveFromLandPassList(llDetectedKey(i));
80 } 80 }
81 } 81 }
82 command = ""; 82 command = "";
83 } 83 }
84} 84}
diff --git a/bin/assets/ScriptsAssetSet/llRemoveFromLandPassList.lsl b/bin/assets/ScriptsAssetSet/llRemoveFromLandPassList.lsl
index 19ad704..f2df357 100644
--- a/bin/assets/ScriptsAssetSet/llRemoveFromLandPassList.lsl
+++ b/bin/assets/ScriptsAssetSet/llRemoveFromLandPassList.lsl
@@ -1,84 +1,84 @@
1//Commands are: 1//Commands are:
2///5 ban:full_avatar_name 2///5 ban:full_avatar_name
3///5 tempban:full_avatar_name 3///5 tempban:full_avatar_name
4///5 unban:full_avatar_name 4///5 unban:full_avatar_name
5///5 pass:full_avatar_name 5///5 pass:full_avatar_name
6///5 unpass:full_avatar_name 6///5 unpass:full_avatar_name
7///5 clearban 7///5 clearban
8///5 clearpass 8///5 clearpass
9 9
10string command; 10string command;
11 11
12default 12default
13{ 13{
14 state_entry() 14 state_entry()
15 { 15 {
16 llListen(5, "", llGetOwner(), ""); 16 llListen(5, "", llGetOwner(), "");
17 } 17 }
18 18
19 on_rez(integer param) 19 on_rez(integer param)
20 { 20 {
21 llResetScript(); 21 llResetScript();
22 } 22 }
23 23
24 listen(integer chan, string name, key id, string message) 24 listen(integer chan, string name, key id, string message)
25 { 25 {
26 if (command != "") 26 if (command != "")
27 { 27 {
28 llOwnerSay("Sorry, still processing last command, try again in a second."); 28 llOwnerSay("Sorry, still processing last command, try again in a second.");
29 } 29 }
30 30
31 list args = llParseString2List(message,[":"],[]); 31 list args = llParseString2List(message,[":"],[]);
32 command = llToLower(llList2String(args,0)); 32 command = llToLower(llList2String(args,0));
33 33
34 if (command == "clearbans") 34 if (command == "clearbans")
35 { 35 {
36 llResetLandBanList(); 36 llResetLandBanList();
37 } 37 }
38 if (command == "clearpass") 38 if (command == "clearpass")
39 { 39 {
40 llResetLandPassList(); 40 llResetLandPassList();
41 } 41 }
42 else 42 else
43 { 43 {
44 llSensor(llList2String(args,1),NULL_KEY,AGENT,96,PI); 44 llSensor(llList2String(args,1),NULL_KEY,AGENT,96,PI);
45 } 45 }
46 } 46 }
47 47
48 no_sensor() 48 no_sensor()
49 { 49 {
50 command = ""; 50 command = "";
51 } 51 }
52 52
53 sensor(integer num) 53 sensor(integer num)
54 { 54 {
55 integer i; 55 integer i;
56 for (i=0; i< num; ++i) 56 for (i=0; i< num; ++i)
57 { 57 {
58 if (command == "ban") 58 if (command == "ban")
59 { 59 {
60 // Ban indefinetely 60 // Ban indefinetely
61 llAddToLandBanList(llDetectedKey(i),0.0); 61 llAddToLandBanList(llDetectedKey(i),0.0);
62 } 62 }
63 if (command == "tempban") 63 if (command == "tempban")
64 { 64 {
65 // Ban for 1 hour. 65 // Ban for 1 hour.
66 llAddToLandBanList(llDetectedKey(i),1.0); 66 llAddToLandBanList(llDetectedKey(i),1.0);
67 } 67 }
68 if (command == "unban") 68 if (command == "unban")
69 { 69 {
70 llRemoveFromLandBanList(llDetectedKey(i)); 70 llRemoveFromLandBanList(llDetectedKey(i));
71 } 71 }
72 if (command == "pass") 72 if (command == "pass")
73 { 73 {
74 // Add to land pass list for 1 hour 74 // Add to land pass list for 1 hour
75 llAddToLandPassList(llDetectedKey(i),1.0); 75 llAddToLandPassList(llDetectedKey(i),1.0);
76 } 76 }
77 if (command == "unpass") 77 if (command == "unpass")
78 { 78 {
79 llRemoveFromLandPassList(llDetectedKey(i)); 79 llRemoveFromLandPassList(llDetectedKey(i));
80 } 80 }
81 } 81 }
82 command = ""; 82 command = "";
83 } 83 }
84} 84}
diff --git a/bin/assets/ScriptsAssetSet/llResetLandBanList.lsl b/bin/assets/ScriptsAssetSet/llResetLandBanList.lsl
index 19ad704..f2df357 100644
--- a/bin/assets/ScriptsAssetSet/llResetLandBanList.lsl
+++ b/bin/assets/ScriptsAssetSet/llResetLandBanList.lsl
@@ -1,84 +1,84 @@
1//Commands are: 1//Commands are:
2///5 ban:full_avatar_name 2///5 ban:full_avatar_name
3///5 tempban:full_avatar_name 3///5 tempban:full_avatar_name
4///5 unban:full_avatar_name 4///5 unban:full_avatar_name
5///5 pass:full_avatar_name 5///5 pass:full_avatar_name
6///5 unpass:full_avatar_name 6///5 unpass:full_avatar_name
7///5 clearban 7///5 clearban
8///5 clearpass 8///5 clearpass
9 9
10string command; 10string command;
11 11
12default 12default
13{ 13{
14 state_entry() 14 state_entry()
15 { 15 {
16 llListen(5, "", llGetOwner(), ""); 16 llListen(5, "", llGetOwner(), "");
17 } 17 }
18 18
19 on_rez(integer param) 19 on_rez(integer param)
20 { 20 {
21 llResetScript(); 21 llResetScript();
22 } 22 }
23 23
24 listen(integer chan, string name, key id, string message) 24 listen(integer chan, string name, key id, string message)
25 { 25 {
26 if (command != "") 26 if (command != "")
27 { 27 {
28 llOwnerSay("Sorry, still processing last command, try again in a second."); 28 llOwnerSay("Sorry, still processing last command, try again in a second.");
29 } 29 }
30 30
31 list args = llParseString2List(message,[":"],[]); 31 list args = llParseString2List(message,[":"],[]);
32 command = llToLower(llList2String(args,0)); 32 command = llToLower(llList2String(args,0));
33 33
34 if (command == "clearbans") 34 if (command == "clearbans")
35 { 35 {
36 llResetLandBanList(); 36 llResetLandBanList();
37 } 37 }
38 if (command == "clearpass") 38 if (command == "clearpass")
39 { 39 {
40 llResetLandPassList(); 40 llResetLandPassList();
41 } 41 }
42 else 42 else
43 { 43 {
44 llSensor(llList2String(args,1),NULL_KEY,AGENT,96,PI); 44 llSensor(llList2String(args,1),NULL_KEY,AGENT,96,PI);
45 } 45 }
46 } 46 }
47 47
48 no_sensor() 48 no_sensor()
49 { 49 {
50 command = ""; 50 command = "";
51 } 51 }
52 52
53 sensor(integer num) 53 sensor(integer num)
54 { 54 {
55 integer i; 55 integer i;
56 for (i=0; i< num; ++i) 56 for (i=0; i< num; ++i)
57 { 57 {
58 if (command == "ban") 58 if (command == "ban")
59 { 59 {
60 // Ban indefinetely 60 // Ban indefinetely
61 llAddToLandBanList(llDetectedKey(i),0.0); 61 llAddToLandBanList(llDetectedKey(i),0.0);
62 } 62 }
63 if (command == "tempban") 63 if (command == "tempban")
64 { 64 {
65 // Ban for 1 hour. 65 // Ban for 1 hour.
66 llAddToLandBanList(llDetectedKey(i),1.0); 66 llAddToLandBanList(llDetectedKey(i),1.0);
67 } 67 }
68 if (command == "unban") 68 if (command == "unban")
69 { 69 {
70 llRemoveFromLandBanList(llDetectedKey(i)); 70 llRemoveFromLandBanList(llDetectedKey(i));
71 } 71 }
72 if (command == "pass") 72 if (command == "pass")
73 { 73 {
74 // Add to land pass list for 1 hour 74 // Add to land pass list for 1 hour
75 llAddToLandPassList(llDetectedKey(i),1.0); 75 llAddToLandPassList(llDetectedKey(i),1.0);
76 } 76 }
77 if (command == "unpass") 77 if (command == "unpass")
78 { 78 {
79 llRemoveFromLandPassList(llDetectedKey(i)); 79 llRemoveFromLandPassList(llDetectedKey(i));
80 } 80 }
81 } 81 }
82 command = ""; 82 command = "";
83 } 83 }
84} 84}
diff --git a/bin/assets/ScriptsAssetSet/llResetLandPassList.lsl b/bin/assets/ScriptsAssetSet/llResetLandPassList.lsl
index 19ad704..f2df357 100644
--- a/bin/assets/ScriptsAssetSet/llResetLandPassList.lsl
+++ b/bin/assets/ScriptsAssetSet/llResetLandPassList.lsl
@@ -1,84 +1,84 @@
1//Commands are: 1//Commands are:
2///5 ban:full_avatar_name 2///5 ban:full_avatar_name
3///5 tempban:full_avatar_name 3///5 tempban:full_avatar_name
4///5 unban:full_avatar_name 4///5 unban:full_avatar_name
5///5 pass:full_avatar_name 5///5 pass:full_avatar_name
6///5 unpass:full_avatar_name 6///5 unpass:full_avatar_name
7///5 clearban 7///5 clearban
8///5 clearpass 8///5 clearpass
9 9
10string command; 10string command;
11 11
12default 12default
13{ 13{
14 state_entry() 14 state_entry()
15 { 15 {
16 llListen(5, "", llGetOwner(), ""); 16 llListen(5, "", llGetOwner(), "");
17 } 17 }
18 18
19 on_rez(integer param) 19 on_rez(integer param)
20 { 20 {
21 llResetScript(); 21 llResetScript();
22 } 22 }
23 23
24 listen(integer chan, string name, key id, string message) 24 listen(integer chan, string name, key id, string message)
25 { 25 {
26 if (command != "") 26 if (command != "")
27 { 27 {
28 llOwnerSay("Sorry, still processing last command, try again in a second."); 28 llOwnerSay("Sorry, still processing last command, try again in a second.");
29 } 29 }
30 30
31 list args = llParseString2List(message,[":"],[]); 31 list args = llParseString2List(message,[":"],[]);
32 command = llToLower(llList2String(args,0)); 32 command = llToLower(llList2String(args,0));
33 33
34 if (command == "clearbans") 34 if (command == "clearbans")
35 { 35 {
36 llResetLandBanList(); 36 llResetLandBanList();
37 } 37 }
38 if (command == "clearpass") 38 if (command == "clearpass")
39 { 39 {
40 llResetLandPassList(); 40 llResetLandPassList();
41 } 41 }
42 else 42 else
43 { 43 {
44 llSensor(llList2String(args,1),NULL_KEY,AGENT,96,PI); 44 llSensor(llList2String(args,1),NULL_KEY,AGENT,96,PI);
45 } 45 }
46 } 46 }
47 47
48 no_sensor() 48 no_sensor()
49 { 49 {
50 command = ""; 50 command = "";
51 } 51 }
52 52
53 sensor(integer num) 53 sensor(integer num)
54 { 54 {
55 integer i; 55 integer i;
56 for (i=0; i< num; ++i) 56 for (i=0; i< num; ++i)
57 { 57 {
58 if (command == "ban") 58 if (command == "ban")
59 { 59 {
60 // Ban indefinetely 60 // Ban indefinetely
61 llAddToLandBanList(llDetectedKey(i),0.0); 61 llAddToLandBanList(llDetectedKey(i),0.0);
62 } 62 }
63 if (command == "tempban") 63 if (command == "tempban")
64 { 64 {
65 // Ban for 1 hour. 65 // Ban for 1 hour.
66 llAddToLandBanList(llDetectedKey(i),1.0); 66 llAddToLandBanList(llDetectedKey(i),1.0);
67 } 67 }
68 if (command == "unban") 68 if (command == "unban")
69 { 69 {
70 llRemoveFromLandBanList(llDetectedKey(i)); 70 llRemoveFromLandBanList(llDetectedKey(i));
71 } 71 }
72 if (command == "pass") 72 if (command == "pass")
73 { 73 {
74 // Add to land pass list for 1 hour 74 // Add to land pass list for 1 hour
75 llAddToLandPassList(llDetectedKey(i),1.0); 75 llAddToLandPassList(llDetectedKey(i),1.0);
76 } 76 }
77 if (command == "unpass") 77 if (command == "unpass")
78 { 78 {
79 llRemoveFromLandPassList(llDetectedKey(i)); 79 llRemoveFromLandPassList(llDetectedKey(i));
80 } 80 }
81 } 81 }
82 command = ""; 82 command = "";
83 } 83 }
84} 84}
diff --git a/bin/assets/ScriptsAssetSet/llSay.lsl b/bin/assets/ScriptsAssetSet/llSay.lsl
index c64a355..dea6fc0 100644
--- a/bin/assets/ScriptsAssetSet/llSay.lsl
+++ b/bin/assets/ScriptsAssetSet/llSay.lsl
@@ -1,7 +1,7 @@
1default 1default
2{ 2{
3 state_entry() 3 state_entry()
4 { 4 {
5 llSay(0,"This is an incredibly useless program." ); 5 llSay(0,"This is an incredibly useless program." );
6 } 6 }
7} 7}
diff --git a/bin/assets/ScriptsAssetSet/llSetParcelMusicURL.lsl b/bin/assets/ScriptsAssetSet/llSetParcelMusicURL.lsl
index 9e1355e..ec8bf4d 100644
--- a/bin/assets/ScriptsAssetSet/llSetParcelMusicURL.lsl
+++ b/bin/assets/ScriptsAssetSet/llSetParcelMusicURL.lsl
@@ -1,7 +1,7 @@
1default 1default
2{ 2{
3 state_entry() 3 state_entry()
4 { 4 {
5 llSetParcelMusicURL("http://www.archive.org/download/Torley_Wong_-_The_Final_Selection/Torley_Wong-Lovers__Dance.mp3"); 5 llSetParcelMusicURL("http://www.archive.org/download/Torley_Wong_-_The_Final_Selection/Torley_Wong-Lovers__Dance.mp3");
6 } 6 }
7} 7}
diff --git a/bin/assets/ScriptsAssetSet/llSetRot.lsl b/bin/assets/ScriptsAssetSet/llSetRot.lsl
index ce3009c..ebdad2f 100644
--- a/bin/assets/ScriptsAssetSet/llSetRot.lsl
+++ b/bin/assets/ScriptsAssetSet/llSetRot.lsl
@@ -1,13 +1,13 @@
1default 1default
2{ 2{
3 state_entry() 3 state_entry()
4 { 4 {
5 llOwnerSay("Touch me"); 5 llOwnerSay("Touch me");
6 } 6 }
7 touch_start(integer total_number) 7 touch_start(integer total_number)
8 { 8 {
9 rotation Y_10 = llEuler2Rot( < 0, 0, 30 * DEG_TO_RAD > ); 9 rotation Y_10 = llEuler2Rot( < 0, 0, 30 * DEG_TO_RAD > );
10 rotation newRotation = llGetRot() * Y_10; 10 rotation newRotation = llGetRot() * Y_10;
11 llSetRot( newRotation ); 11 llSetRot( newRotation );
12 } 12 }
13} 13}