From f5a0113401dbed32221119010d34b0894886864f Mon Sep 17 00:00:00 2001 From: Fred Beckhusen Date: Mon, 26 Apr 2021 00:07:16 -0500 Subject: [PATCH] More scripts to vote --- .../Object/Top_Radio_Stations_Player_1.lsl | 2 +- Simple Train/Simple Train script.lsl.txt | 41 ------------------- .../Object/Remote parcel script.lsl | 2 +- .../Trash Collector NPC/NPC Box/Trash Bot | 6 +-- .../NPC Box/Trash Collector script.lsl | 1 + Vote/Vote/Object/Script.lsl | 16 +++++++- 6 files changed, 21 insertions(+), 47 deletions(-) delete mode 100644 Simple Train/Simple Train script.lsl.txt diff --git a/MOAP Top 2000 Radio Stations Player/Top_Radio_Stations_Player/Object/Top_Radio_Stations_Player_1.lsl b/MOAP Top 2000 Radio Stations Player/Top_Radio_Stations_Player/Object/Top_Radio_Stations_Player_1.lsl index 572d9d45..0980c7cc 100644 --- a/MOAP Top 2000 Radio Stations Player/Top_Radio_Stations_Player/Object/Top_Radio_Stations_Player_1.lsl +++ b/MOAP Top 2000 Radio Stations Player/Top_Radio_Stations_Player/Object/Top_Radio_Stations_Player_1.lsl @@ -4,7 +4,7 @@ // :AUTHOR:Fred Beckhusen (Ferd Frederix) // :KEYWORDS: // :CREATED:2012-09-04 15:30:52.010 -// :EDITED:2020-04-22 23:19:58 +// :EDITED:2021-04-26 23:06:01 // :ID:902 // :NUM:1278 // :REV:1.1 diff --git a/Simple Train/Simple Train script.lsl.txt b/Simple Train/Simple Train script.lsl.txt deleted file mode 100644 index 730668b2..00000000 --- a/Simple Train/Simple Train script.lsl.txt +++ /dev/null @@ -1,41 +0,0 @@ -float delay = 0.1; -integer m_STEPS = 16; - -motionTo(vector dest,rotation rot) { - integer i; - vector currentpos = llGetPos(); - vector step = (dest - currentpos) / m_STEPS; - - for (i = 1;i <= m_STEPS; i++) - { - if (i == (m_STEPS / 2)) - { - llSetRot(rot); - } - llSetPos(currentpos + (step * i)); - - } - llSensor("Track",NULL_KEY,ACTIVE | PASSIVE,10,PI/2); -} - -default { - state_entry() { - llSensor("Track",NULL_KEY,ACTIVE | PASSIVE,10,PI/2); - } - changed(integer what) { - if (what & CHANGED_REGION_START){ - llResetScript(); - } - } - sensor(integer n) { - motionTo(llDetectedPos(0) +(llRot2Fwd(llDetectedRot(0)) / 10),llDetectedRot(0)); - } - no_sensor() - { - llSetTimerEvent(10); - } - timer() { - llSensor("Track",NULL_KEY,ACTIVE | PASSIVE,10,PI/2); - llSetTimerEvent(0); - } -} \ No newline at end of file diff --git a/Top2000_Radio_Stations_Player/Top_Radio_Stations_Player/Object/Remote parcel script.lsl b/Top2000_Radio_Stations_Player/Top_Radio_Stations_Player/Object/Remote parcel script.lsl index 86f19149..cde4ce2b 100644 --- a/Top2000_Radio_Stations_Player/Top_Radio_Stations_Player/Object/Remote parcel script.lsl +++ b/Top2000_Radio_Stations_Player/Top_Radio_Stations_Player/Object/Remote parcel script.lsl @@ -4,7 +4,7 @@ // :AUTHOR:Fred Beckhusen (Ferd Frederix) // :KEYWORDS: // :CREATED:2013-12-14 13:33:32 -// :EDITED:2021-04-26 22:58:14 +// :EDITED:2021-04-26 23:06:11 // :ID:902 // :NUM:1558 // :REV:1.2 diff --git a/Trash Collector NPC/Trash Collector NPC/NPC Box/Trash Bot b/Trash Collector NPC/Trash Collector NPC/NPC Box/Trash Bot index f2ab4b31..c4aab988 100644 --- a/Trash Collector NPC/Trash Collector NPC/NPC Box/Trash Bot +++ b/Trash Collector NPC/Trash Collector NPC/NPC Box/Trash Bot @@ -1,10 +1,10 @@ -// :SHOW: -// :CATEGORY: +// :SHOW:1 +// :CATEGORY:NPC // :NAME:Trash Collector NPC // :AUTHOR:Anonymous // :KEYWORDS: // :CREATED:2021-04-26 23:58:23 -// :EDITED:2021-04-26 22:58:23 +// :EDITED:2021-04-26 23:06:17 // :ID:1144 // :NUM:2037 // :REV:1 diff --git a/Trash Collector NPC/Trash Collector NPC/NPC Box/Trash Collector script.lsl b/Trash Collector NPC/Trash Collector NPC/NPC Box/Trash Collector script.lsl index b9cb4bee..5b9fd7a4 100644 --- a/Trash Collector NPC/Trash Collector NPC/NPC Box/Trash Collector script.lsl +++ b/Trash Collector NPC/Trash Collector NPC/NPC Box/Trash Collector script.lsl @@ -4,6 +4,7 @@ // :AUTHOR:Unknown // :KEYWORDS: NPC // :CREATED:2021-04-26 23:58:23 +// :EDITED:2021-04-26 23:06:18 // :ID:1144 // :NUM:2038 // :REV:1 diff --git a/Vote/Vote/Object/Script.lsl b/Vote/Vote/Object/Script.lsl index 64566729..475b2463 100644 --- a/Vote/Vote/Object/Script.lsl +++ b/Vote/Vote/Object/Script.lsl @@ -1,3 +1,17 @@ +// :SHOW: +// :CATEGORY:Vote +// :NAME:Vote +// :AUTHOR:Anonymous +// :KEYWORDS: +// :CREATED:2021-04-26 00:06:33 +// :EDITED:2021-04-26 23:06:33 +// :ID:1145 +// :NUM:2039 +// :REV:1 +// :WORLD:Second Life +// :DESCRIPTION: +// +// :CODE: // Voting script, only allows one vote per avi // @author JB Kraft // script from http://wiki.secondlife.com/wiki/Vote_Simple @@ -68,4 +82,4 @@ default } } } -} \ No newline at end of file +}