Blueman Posted June 26, 2011 Posted June 26, 2011 I want a function to loop every 10 minutes I was just wondering how this is done.
Blueman Posted June 26, 2011 Author Posted June 26, 2011 That simple? Also the above time is every 10 seconds, there is 1000ms in 1 second
JR10 Posted June 26, 2011 Posted June 26, 2011 (edited) setTimer(function, 600000, 1) a 10 minute timer. Edited June 26, 2011 by Guest
Castillo Posted June 26, 2011 Posted June 26, 2011 function myLoop() outputChatBox("This is my message every 10 minute(s).",root,255,255,0) end setTimer(myLoop,60000 * 10,0) P.S: JR10, 60000 = 1 minute .
Blueman Posted June 26, 2011 Author Posted June 26, 2011 Thanks but my messages are received from a table I'll work on that myself You all helped alot.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now