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="Day-Of-Week">
<Project name="Day-Of-Week" path="Day-Of-Week\Day-Of-Week.prj" active="true"/>
</Solution>

View File

@@ -0,0 +1,6 @@
<Project name="Day-Of-Week" guid="cbbff81f-51a2-46a0-8f90-b4f9d4f5c56c">
<Object name="Object" guid="55594020-f4c5-498f-9cf1-c5bae352fe78" active="true">
<Script name="Script.lsl" guid="b3735049-d038-45b5-8edc-603706786320">
</Script>
</Object>
</Project>

View File

@@ -0,0 +1,32 @@
// :CATEGORY:CLock
// :NAME:Day-Of-Week
// :AUTHOR:Anonymous
// :CREATED:2013-09-06
// :EDITED:2013-09-18 15:38:51
// :ID:222
// :NUM:308
// :REV:1
// :WORLD:Second Life
// :DESCRIPTION:
// Day-of-the-week.lsl
// :CODE:
string getDay(integer offset)
{
list weekdays = ["Thursday", "Friday", "Saturday", "Sunday", "Monday", "Tuesday", "Wednesday"];
integer hours = llGetUnixTime()/3600;
integer days = (hours + offset)/24;
integer day_of_week = days%7;
return llList2String(weekdays, day_of_week);
}
default
{
touch_start(integer total_number)
{
integer offset = -4; // offset from UTC
llSay(0, "Today is " + getDay(offset) + ".");
}
} // end
// CREATOR: