Blueman Posted June 26, 2011 Share Posted June 26, 2011 I want a function to loop every 10 minutes I was just wondering how this is done. Link to comment
will briggs Posted June 26, 2011 Share Posted June 26, 2011 This setTimer(10000) Thanks Link to comment
Blueman Posted June 26, 2011 Author Share Posted June 26, 2011 That simple? Also the above time is every 10 seconds, there is 1000ms in 1 second Link to comment
JR10 Posted June 26, 2011 Share Posted June 26, 2011 (edited) setTimer(function, 600000, 1) a 10 minute timer. Edited June 26, 2011 by Guest Link to comment
Castillo Posted June 26, 2011 Share 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 . Link to comment
Blueman Posted June 26, 2011 Author Share Posted June 26, 2011 Thanks but my messages are received from a table I'll work on that myself You all helped alot. Link to comment
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