removed useless _ folders

This commit is contained in:
Fred Beckhusen
2015-08-09 16:54:31 -05:00
parent fde850293c
commit 948a44dfba
5204 changed files with 2425579 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
<Solution name="TV_Station_Script">
<Project name="TV_Station_Script" path="TV_Station_Script\TV_Station_Script.prj" active="true"/>
</Solution>

View File

@@ -0,0 +1,78 @@
// :CATEGORY:TV
// :NAME:TV_Station_Script
// :AUTHOR:Anonymous
// :CREATED:2010-01-10 05:20:56.000
// :EDITED:2013-09-18 15:39:08
// :ID:925
// :NUM:1329
// :REV:1.0
// :WORLD:Second Life
// :DESCRIPTION:
// TV Station Script.lsl
// :CODE:
list teeVees;
integer listenID;
key programID = NULL_KEY;
updateTV(integer number)
{
//Scripts are delayed 20 seconds for each email
if (programID != NULL_KEY)
{
llWhisper(0, "Sending Notcard: " + (string)programID);
llEmail(llList2String(teeVees, number) +
"@lsl.secondlife.com", (string)programID, "");
}
}
default
{
state_entry()
{
listenID = llListen(1, "", NULL_KEY, "");
llSetText(llGetObjectName(), <1,1,1>, 1);
}
on_rez(integer startup_param)
{
llResetScript();
}
listen(integer channel, string name,
key id, string message)
{
if (llGetOwner() == (key)message)
{
//Only register if the new TV isn't
//in the list of TVs
if (llListFindList(teeVees, [id]) == -1)
{
llWhisper(0, "Registering TV: " + (string)id);
teeVees += id; //Register TV in List
}
//Update the TV with the notecard
updateTV(llGetListLength(teeVees) - 1);
}
}
changed(integer change)
{
integer x;
if (change == CHANGED_INVENTORY)
{
string notecardName =
llGetInventoryName(INVENTORY_NOTECARD, 0);
llWhisper(0, "Processing Notecard: " + notecardName);
programID = llGetInventoryKey(notecardName);
llRemoveInventory(notecardName);
//Loop through all the registered TVs
for (x = 0; x < llGetListLength(teeVees); x += 1)
{
updateTV(x);
}
}
}
}
// END //

View File

@@ -0,0 +1,6 @@
<Project name="TV_Station_Script" guid="D7C81AE3-6C00-1014-B904-200204C60A89">
<Object name="Object" guid="D7C81BB6-6C00-1014-B904-200204C60A89">
<Script name="TV_Station_Script_1.lsl" guid="D7C83841-6C00-1014-B904-200204C60A89">
</Script>
</Object>
</Project>