Difference between revisions of "User:Mystagic Resident/Meeroos/Sleep Script"
Jump to navigation
Jump to search
m |
|||
Line 1: | Line 1: | ||
[[File:Sleepscript.png]] | [[File:Sleepscript.png]] | ||
Shows which meeroos are awake with a heart and counting up how long they been awake,also then shows which are sleeping with a X counting down till they awake. | Shows which meeroos are awake with a heart and counting up how long they been awake, also then shows which are sleeping with a X counting down till they awake. | ||
YouTube video: [http://www.youtube.com/watch?v=RGU5B-MYBJU] | YouTube video: [http://www.youtube.com/watch?v=RGU5B-MYBJU] |
Revision as of 08:11, 3 October 2013
Shows which meeroos are awake with a heart and counting up how long they been awake, also then shows which are sleeping with a X counting down till they awake.
YouTube video: [1]
Meeroo Sleep Schedules:
<lsl> simtime() {
integer t = (integer)llGetTimeOfDay(); string meeroos = ""; integer m = 0; if (t < 7200) { m = (7200 - t) / 60; t = t / 60; meeroos += "♥ Nocturnals : Awake "+(string)t+" minutes.\n"; meeroos += "✖ Diurnals : Sleep "+(string)m+" minutes.\n"; } else { m = (14800 - t) / 60; t = (t - 7200) / 60; meeroos += "♥ Diurnals : Awake "+(string)t+" minutes.\n"; meeroos += "✖ Nocturnals : Sleep "+(string)m+" minutes.\n"; } llSetText(meeroos,<1,1,1>,1.0);
} default {
state_entry() { simtime(); llSetTimerEvent(60.0); } timer() { simtime(); }
} </lsl>
Meeroo SL Time Schedules:
------------------------------------------- Nocturnals / Dirunals - Schedules ------------------------------------------- 00:00 nocturnals - Midnight 00:30 nocturnals - Sunrise 01:00 nocturnals 01:30 nocturnals 02:00 dirunals - Midday 02:30 dirunals 03:00 dirunals 03:30 dirunals - Sunset ------------------------------------------- 04:00 nocturnals - Midnight 04:30 nocturnals - Sunrise 05:00 nocturnals 05:30 nocturnals 06:00 dirunals - Midday 06:30 dirunals 07:00 dirunals 07:30 dirunals - Sunset ------------------------------------------- 08:00 nocturnals - Midnight 08:30 nocturnals - Sunrise 09:00 nocturnals 09:30 nocturnals 10:00 dirunals 10:30 dirunals 11:00 dirunals 11:30 dirunals - Sunset ------------------------------------------- 12:00 nocturnals - Midnight 12:30 nocturnals - Sunrise 13:00 nocturnals 13:30 nocturnals 14:00 dirunals - Midday 14:30 dirunals 15:00 dirunals 15:30 dirunals - Sunset ------------------------------------------- 16:00 nocturnals - Midnight 16:30 nocturnals - Sunrise 17:00 nocturnals 17:30 nocturnals 18:00 dirunals - Midday 18:30 dirunals 19:00 dirunals 19:30 dirunals ------------------------------------------- 20:00 nocturnals - Midnight 20:30 nocturnals - Sunrise 21:00 nocturnals * Meeroo Season Change 21:30 nocturnals 22:00 dirunals - Midday 22:30 dirunals 23:00 dirunals 23:30 dirunals - Sunset -------------------------------------------