This is what I have: a list that I wanna call every entry from, with a delay of a couple seconds. I've tried llSleep but need to be able to stop it when I need to, so it wont work, so this is what I have that I think SHOULD be working!
-----------------BEGIN CODE----------------------
string callingnumvar;
default
{
///////Skipping to problem code for the post
state_entry() //When entering state...
{
llListen( 0, "", llGetOwner(), "" ); //Listen for owner to say something on channel 0
randomizednums = llListRandomize(basenums, 1); //randomize base numbers into that list
for (i = m ; i<75;i++) //start with index of m and go down to the next num each time
{
callingnumvar = llList2String(randomizednums,i); //set the string to be said to the next index in the list
llSetTimerEvent(3.0);
}
}
timer()
{
llSay(0, callingnumvar);
llSay(0, "debug"

}
-----------------END CODE-------------------
and what I end up with it saying is
Object:
Object: debug
Object:
Object: debug
Object:
Object: debug
-and so on
now it works fine without the timer and with the llSay(0, callingnumvar); put up in the for statement. can anyone tell me why this isnt working and a better way to do it? Thanks in advance!