Difference between revisions of "User talk:Toady Nakamura"
Jump to navigation
Jump to search
m (Created page with "Leave me a message !!! ~~~~") |
m (saving a snippet for later) |
||
Line 1: | Line 1: | ||
Leave me a message !!! [[User:Toady Nakamura|Toady Nakamura]] 23:44, 5 July 2012 (PDT) | Leave me a message !!! [[User:Toady Nakamura|Toady Nakamura]] 23:44, 5 July 2012 (PDT) | ||
<lsl> | |||
//Counts down from 5 to 1, then dies | |||
default | |||
{ | |||
state_entry() | |||
{ | |||
integer index = 5; | |||
while (index) | |||
{ | |||
// wait a sec | |||
llSleep(1.0); | |||
// PUBLIC_CHANNEL has the integer value 0 | |||
llSay(PUBLIC_CHANNEL, (string)index); | |||
--index; | |||
} | |||
llWhisper(0,"I am done counting now."); | |||
} | |||
} | |||
</lsl> |
Revision as of 11:57, 28 September 2012
Leave me a message !!! Toady Nakamura 23:44, 5 July 2012 (PDT)
<lsl> //Counts down from 5 to 1, then dies default {
state_entry() { integer index = 5; while (index) { // wait a sec llSleep(1.0); // PUBLIC_CHANNEL has the integer value 0 llSay(PUBLIC_CHANNEL, (string)index); --index; } llWhisper(0,"I am done counting now."); }
} </lsl>